Changeset 2926:ef036c16f643 in roaraudio
- Timestamp:
- 10/16/09 19:47:32 (15 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/config.h
r2895 r2926 46 46 #define ROAR_LIBROAR_CONFIG_PSET_DTX 0x0004 47 47 #define ROAR_LIBROAR_CONFIG_PSET_MAX_CC 0x0008 48 #define ROAR_LIBROAR_CONFIG_PSET_ABR 0x0010 /* need to implement */ 49 #define ROAR_LIBROAR_CONFIG_PSET_VAD 0x0020 /* need to implement */ 50 #define ROAR_LIBROAR_CONFIG_PSET_AGC 0x0040 /* need to implement */ 51 #define ROAR_LIBROAR_CONFIG_PSET_DENOISE 0x0080 /* need to implement */ 52 #define ROAR_LIBROAR_CONFIG_PSET_VBR 0x0100 48 53 49 54 struct roar_libroar_config_codec { … … 60 65 // currectly bools: 61 66 int dtx; 67 int vbr; 62 68 63 69 // sizes: -
libroar/config.c
r2913 r2926 129 129 codec_cfg->para_set |= ROAR_LIBROAR_CONFIG_PSET_MAX_CC; 130 130 codec_cfg->max_cc = _P_INT(value_str); 131 } else if ( !strcmp(option_str, "vbr") ) { 132 codec_cfg->para_set |= ROAR_LIBROAR_CONFIG_PSET_VBR; 133 codec_cfg->vbr = _P_BOOL(value_str); 131 134 } else { 132 135 ROAR_WARN("roar_libroar_config_parse_codec(*): Unknown codec option: %s", option_str);
Note: See TracChangeset
for help on using the changeset viewer.