Changeset 871:1f9e7d2c2dcc in roaraudio for libroardsp
- Timestamp:
- 10/01/08 16:11:18 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroardsp/convert.c
r869 r871 336 336 void * nin = in; 337 337 338 if ( bits == 8 || bits == 16 ) { 338 if ( bits == 8 ) { 339 inbo = outbo = ROAR_CODEC_NATIVE_ENDIAN; 340 341 } else if ( bits == 16 ) { 339 342 if ( inbo == ROAR_CODEC_PDP ) 340 343 inbo = ROAR_CODEC_LE; … … 347 350 348 351 if ( inbo != outbo ) { 349 if ( bits != 8 ) { // there is no need to talk about eddines on 8 bit data streams350 352 if ( bits == 16 ) { 351 353 // in this case we can only have LE vs. BE, so, only need to swap: … … 369 371 return -1; 370 372 } 371 }372 373 } 373 374
Note: See TracChangeset
for help on using the changeset viewer.