Ignore:
Timestamp:
12/20/06 23:31:29 (18 years ago)
Author:
r2d
Message:
  • scaled libmpcdec output so I now have meaningful results
  • removed gain reference
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/mpcgain/mpcgain.c

    r180 r182  
    7676
    7777                        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);
    8080                        }
    8181
Note: See TracChangeset for help on using the changeset viewer.