Changeset 4934:a88414aa5705 in roaraudio for roard/include/rolestack.h
- Timestamp:
- 05/09/11 01:39:41 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/rolestack.h
r4932 r4934 29 29 #include <roaraudio.h> 30 30 31 enum rs_action { 32 RS_ERROR = -1, 33 RS_MIX = 0, 34 RS_KICK, 35 RS_MUTE, 36 RS_PAUSE 37 }; 38 39 struct rolestack { 40 int index; 41 int role; 42 enum rs_action action; 43 }; 44 45 void rolestack_init(void); 46 void print_rolestack(void); 47 48 const struct rolestack * rolestack_get_role(int role); 49 int rolestack_push(const struct rolestack * role); 50 51 enum rs_action rolestack_str2action(const char * str); 52 const char * rolestack_action2str(enum rs_action action); 53 54 const struct rolestack * rolestack_parse(const char * str); 55 31 56 #endif 32 57
Note: See TracChangeset
for help on using the changeset viewer.