Changeset 3550:894340e379a7 in roaraudio
- Timestamp:
- 02/20/10 02:51:12 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroardsp/channels.c
r3548 r3550 413 413 414 414 for (c = 0; c < chans; c++) { 415 buf[map[c] *_8BIT] = in[c];415 buf[map[c]] = in[c]; 416 416 } 417 417 … … 425 425 for (frame = 0; frame < len/(chans*_8BIT); frame++) { 426 426 for (c = 0; c < chans; c++) { 427 out[map[c] *_8BIT] = in[c];427 out[map[c]] = in[c]; 428 428 } 429 429 in += chans; … … 454 454 455 455 for (c = 0; c < chans; c++) { 456 buf[map[c] *_16BIT] = in[c];456 buf[map[c]] = in[c]; 457 457 } 458 458 … … 466 466 for (frame = 0; frame < len/(chans*_16BIT); frame++) { 467 467 for (c = 0; c < chans; c++) { 468 out[map[c] *_16BIT] = in[c];468 out[map[c]] = in[c]; 469 469 } 470 470 in += chans; … … 499 499 500 500 for (c = 0; c < chans; c++) { 501 buf[map[c] *_32BIT] = in[c];501 buf[map[c]] = in[c]; 502 502 } 503 503 … … 511 511 for (frame = 0; frame < len/(chans*_32BIT); frame++) { 512 512 for (c = 0; c < chans; c++) { 513 out[map[c] *_32BIT] = in[c];513 out[map[c]] = in[c]; 514 514 } 515 515 in += chans;
Note: See TracChangeset
for help on using the changeset viewer.