Changeset 3630:89a9079f8e3f in roaraudio for include/libroar/stream.h


Ignore:
Timestamp:
03/08/10 02:23:23 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

implemented roles, still need some support to set them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/stream.h

    r3538 r3630  
    7676#define ROAR_STREAMSTATE_CLOSING    4 
    7777 
     78// PA currently defines: video, music, game, event, phone, animation, production, a11y 
     79// RA includes         : YES    YES    YES   YES    YES    NO         NO          NO 
     80 
     81#define ROAR_ROLE_UNKNOWN          -1 
     82#define ROAR_ROLE_NONE              0 
     83#define ROAR_ROLE_MUSIC             1 
     84#define ROAR_ROLE_VIDEO             2 
     85#define ROAR_ROLE_GAME              3 
     86#define ROAR_ROLE_EVENT             4 
     87#define ROAR_ROLE_BEEP              5 
     88#define ROAR_ROLE_PHONE             6 
     89#define ROAR_ROLE_BACKGROUND_MUSIC  7 
     90 
    7891struct roar_stream_info { 
    7992 int block_size; 
     
    8699 int state; 
    87100 int mixer; 
     101 int role; 
    88102}; 
    89103 
     
    134148char * roar_streamstate2str(int streamstate); 
    135149 
     150int    roar_str2role  (char * role); 
     151char * roar_role2str  (int    role); 
     152 
    136153#endif 
    137154 
Note: See TracChangeset for help on using the changeset viewer.