Changeset 2885:04969b340351 in roaraudio
- Timestamp:
- 10/10/09 02:00:50 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/config.h
r2648 r2885 42 42 #define ROAR_LIBROAR_CONFIG_WAS_USE_EXECED 0x01 43 43 44 struct roar_libroar_config_codec { 45 unsigned int codec; // Codec ID 46 // the folloing ints are 256 times there correct value 47 // to emulate a .8 bit fixed point float. 48 int q; 49 int complexity; 50 51 // currectly bools: 52 int dtx; 53 54 // sizes: 55 size_t max_cc; 56 }; 57 44 58 struct roar_libroar_config { 45 59 struct { … … 50 64 int sysio; 51 65 } warnings; 66 struct { 67 size_t num; 68 struct roar_libroar_config_codec * codec; 69 } codecs; 52 70 }; 53 71 54 72 struct roar_libroar_config * roar_libroar_get_config_ptr(void); 55 73 struct roar_libroar_config * roar_libroar_get_config(void); 74 75 int roar_libroar_config_parse(char * txt, char * delm); 76 77 struct roar_libroar_config_codec * roar_libroar_config_codec_get(int codec, int create); 56 78 57 79 int roar_libroar_set_server(char * server);
Note: See TracChangeset
for help on using the changeset viewer.