Changeset 184
- Timestamp:
- 12/21/06 13:45:17 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/mpcgain/mpcgain.c
r183 r184 54 54 int main(int argc, char **argv) 55 55 { 56 mpc_reader reader;57 mpc_demux* demux;58 mpc_streaminfo si;59 mpc_status err;60 MPC_SAMPLE_FORMAT sample_buffer[MPC_DECODER_BUFFER_LENGTH];61 56 MPC_SAMPLE_FORMAT album_max = 0; 62 57 mpc_uint16_t album_gain; … … 65 60 mpc_uint16_t * title_peak; 66 61 mpc_uint32_t * header_pos; 67 Float_t left_samples[MPC_FRAME_LENGTH * sizeof(Float_t)];68 Float_t right_samples[MPC_FRAME_LENGTH * sizeof(Float_t)];69 62 int j; 70 63 … … 79 72 80 73 for( j = 1; j < argc; j++){ 74 MPC_SAMPLE_FORMAT sample_buffer[MPC_DECODER_BUFFER_LENGTH]; 75 Float_t left_samples[MPC_FRAME_LENGTH * sizeof(Float_t)]; 76 Float_t right_samples[MPC_FRAME_LENGTH * sizeof(Float_t)]; 81 77 MPC_SAMPLE_FORMAT title_max = 0; 78 mpc_reader reader; 79 mpc_demux* demux; 80 mpc_streaminfo si; 81 mpc_status err; 82 82 83 83 err = mpc_reader_init_stdio(&reader, argv[j]);
Note: See TracChangeset
for help on using the changeset viewer.