Changeset 182
- Timestamp:
- 12/20/06 23:31:29 (18 years ago)
- Location:
- libmpc/branches/r2d
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/libreplaygain/gain_analysis.c
r180 r182 438 438 } 439 439 440 return (Float_t) ((Float_t)PINK_REF - (Float_t)i / (Float_t)STEPS_per_dB);440 return (Float_t)i / (Float_t)STEPS_per_dB; 441 441 } 442 442 -
libmpc/branches/r2d/mpcgain/mpcgain.c
r180 r182 76 76 77 77 for( i = 0; i < frame.samples; i++){ 78 left_samples[i] = sample_buffer[2 * i] ;79 right_samples[i] = sample_buffer[2 * i + 1] ;78 left_samples[i] = sample_buffer[2 * i] * (1 << 15); 79 right_samples[i] = sample_buffer[2 * i + 1] * (1 << 15); 80 80 } 81 81
Note: See TracChangeset
for help on using the changeset viewer.