Changeset 184


Ignore:
Timestamp:
12/21/06 13:45:17 (18 years ago)
Author:
r2d
Message:

moved declarations

File:
1 edited

Legend:

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

    r183 r184  
    5454int main(int argc, char **argv)
    5555{
    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];
    6156        MPC_SAMPLE_FORMAT album_max = 0;
    6257        mpc_uint16_t album_gain;
     
    6560        mpc_uint16_t * title_peak;
    6661        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)];
    6962        int j;
    7063
     
    7972
    8073        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)];
    8177                MPC_SAMPLE_FORMAT title_max = 0;
     78                mpc_reader reader;
     79                mpc_demux* demux;
     80                mpc_streaminfo si;
     81                mpc_status err;
    8282
    8383                err = mpc_reader_init_stdio(&reader, argv[j]);
Note: See TracChangeset for help on using the changeset viewer.