Changeset 4097:7517aa33cf65 in roaraudio for include/roaraudio/stream.h
- Timestamp:
- 07/25/10 15:33:12 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/roaraudio/stream.h
r3811 r4097 72 72 #define ROAR_DIR_DIRIDS 22 73 73 74 // Stream flags: 75 #define ROAR_FLAG_NONE 0x0000 76 #define ROAR_FLAG_PRIMARY 0x0001 77 #define ROAR_FLAG_OUTPUT 0x0002 78 #define ROAR_FLAG_DRIVER ROAR_FLAG_OUTPUT 79 #define ROAR_FLAG_SOURCE 0x0004 80 #define ROAR_FLAG_SYNC 0x0008 81 #define ROAR_FLAG_META 0x0010 82 #define ROAR_FLAG_AUTOCONF 0x0020 83 #define ROAR_FLAG_CLEANMETA 0x0040 84 #define ROAR_FLAG_HWMIXER 0x0080 85 #define ROAR_FLAG_PAUSE 0x0100 86 #define ROAR_FLAG_MUTE 0x0200 87 #define ROAR_FLAG_MMAP 0x0400 88 #define ROAR_FLAG_ANTIECHO 0x0800 89 #define ROAR_FLAG_VIRTUAL 0x1000 90 #define ROAR_FLAG_RECSOURCE 0x2000 91 #define ROAR_FLAG_PASSMIXER 0x4000 92 #define ROAR_FLAG_PRETHRU 0x8000 93 // next are the exteded flags (> 16 bits) 94 //#define ROAR_FLAG_SYNC 0x08 95 #define ROAR_FLAG_IMMUTABLE 0x00010000 96 #define ROAR_FLAG_ENHANCE 0x00020000 97 98 #define ROAR_SET_FLAG 0 99 #define ROAR_RESET_FLAG 1 100 101 // Stream states: 102 #define ROAR_STREAMSTATE_UNKNOWN -1 103 #define ROAR_STREAMSTATE_NULL 0 104 #define ROAR_STREAMSTATE_UNUSED ROAR_STREAMSTATE_NULL 105 #define ROAR_STREAMSTATE_INITING 1 106 #define ROAR_STREAMSTATE_NEW 2 107 #define ROAR_STREAMSTATE_OLD 3 108 #define ROAR_STREAMSTATE_CLOSING 4 109 110 // Stream roles: 111 // PA currently defines: video, music, game, event, phone, animation, production, a11y 112 // RA includes : YES YES YES YES YES NO NO NO 113 114 #define ROAR_ROLE_UNKNOWN -1 115 #define ROAR_ROLE_NONE 0 116 #define ROAR_ROLE_MUSIC 1 117 #define ROAR_ROLE_VIDEO 2 118 #define ROAR_ROLE_GAME 3 119 #define ROAR_ROLE_EVENT 4 120 #define ROAR_ROLE_BEEP 5 121 #define ROAR_ROLE_PHONE 6 122 #define ROAR_ROLE_BACKGROUND_MUSIC 7 123 #define ROAR_ROLE_VOICE 8 124 #define ROAR_ROLE_INSTRUMENT 9 125 #define ROAR_ROLE_RHYTHM 10 126 #define ROAR_ROLE_CLICK 11 127 #define ROAR_ROLE_MIXED 12 128 74 129 75 130 #define ROAR_CARE_NOPOS 0 … … 79 134 80 135 #define ROAR_STREAMS_MAX 64 136 81 137 82 138 struct roar_stream {
Note: See TracChangeset
for help on using the changeset viewer.