Changeset 4097:7517aa33cf65 in roaraudio for include/libroar/stream.h


Ignore:
Timestamp:
07/25/10 15:33:12 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

moved #defines to where they should be

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/stream.h

    r3942 r4097  
    4141char * roar_dir2str (int dir); 
    4242int    roar_str2dir (char * name); 
    43  
    44 #define ROAR_FLAG_NONE           0x0000 
    45 #define ROAR_FLAG_PRIMARY        0x0001 
    46 #define ROAR_FLAG_OUTPUT         0x0002 
    47 #define ROAR_FLAG_DRIVER         ROAR_FLAG_OUTPUT 
    48 #define ROAR_FLAG_SOURCE         0x0004 
    49 #define ROAR_FLAG_SYNC           0x0008 
    50 #define ROAR_FLAG_META           0x0010 
    51 #define ROAR_FLAG_AUTOCONF       0x0020 
    52 #define ROAR_FLAG_CLEANMETA      0x0040 
    53 #define ROAR_FLAG_HWMIXER        0x0080 
    54 #define ROAR_FLAG_PAUSE          0x0100 
    55 #define ROAR_FLAG_MUTE           0x0200 
    56 #define ROAR_FLAG_MMAP           0x0400 
    57 #define ROAR_FLAG_ANTIECHO       0x0800 
    58 #define ROAR_FLAG_VIRTUAL        0x1000 
    59 #define ROAR_FLAG_RECSOURCE      0x2000 
    60 #define ROAR_FLAG_PASSMIXER      0x4000 
    61 #define ROAR_FLAG_PRETHRU        0x8000 
    62 // next are the exteded flags (> 16 bits) 
    63 //#define ROAR_FLAG_SYNC           0x08 
    64 #define ROAR_FLAG_IMMUTABLE      0x00010000 
    65 #define ROAR_FLAG_ENHANCE        0x00020000 
    66  
    67 #define ROAR_SET_FLAG            0 
    68 #define ROAR_RESET_FLAG          1 
    69  
    70 #define ROAR_STREAMSTATE_UNKNOWN   -1 
    71 #define ROAR_STREAMSTATE_NULL       0 
    72 #define ROAR_STREAMSTATE_UNUSED     ROAR_STREAMSTATE_NULL 
    73 #define ROAR_STREAMSTATE_INITING    1 
    74 #define ROAR_STREAMSTATE_NEW        2 
    75 #define ROAR_STREAMSTATE_OLD        3 
    76 #define ROAR_STREAMSTATE_CLOSING    4 
    77  
    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 #define ROAR_ROLE_VOICE             8 
    91 #define ROAR_ROLE_INSTRUMENT        9 
    92 #define ROAR_ROLE_RHYTHM           10 
    93 #define ROAR_ROLE_CLICK            11 
    94 #define ROAR_ROLE_MIXED            12 
    9543 
    9644struct roar_stream_info { 
Note: See TracChangeset for help on using the changeset viewer.