Changeset 4920:b63e09585737 in roaraudio
- Timestamp:
- 05/08/11 01:39:03 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/sources.c
r4919 r4920 172 172 173 173 if ( strcmp(k, "rate") == 0 ) { 174 s->info.rate = atoi(v);174 s->info.rate = roar_str2rate(v); 175 175 } else if ( strcmp(k, "channels") == 0 ) { 176 s->info.channels = atoi(v);176 s->info.channels = roar_str2channels(v); 177 177 } else if ( strcmp(k, "bits") == 0 ) { 178 s->info.bits = atoi(v);178 s->info.bits = roar_str2bits(v); 179 179 } else if ( strcmp(k, "codec") == 0 ) { 180 180 if ( (codec = roar_str2codec(v)) == -1 ) {
Note: See TracChangeset
for help on using the changeset viewer.