Changeset 5466:201ac6bd51ee in roaraudio
- Timestamp:
- 03/31/12 02:41:45 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/config.c
r5465 r5466 289 289 #endif 290 290 } else if ( !strcmp(k, "force-rate") ) { 291 config->info.rate = atoi(v);291 config->info.rate = roar_str2rate(v); 292 292 } else if ( !strcmp(k, "force-bits") ) { 293 config->info.bits = atoi(v);293 config->info.bits = roar_str2bits(v); 294 294 } else if ( !strcmp(k, "force-channels") ) { 295 config->info.channels = atoi(v);295 config->info.channels = roar_str2channels(v); 296 296 } else if ( !strcmp(k, "force-codec") ) { 297 297 config->info.codec = roar_str2codec(v);
Note: See TracChangeset
for help on using the changeset viewer.