Ignore:
Timestamp:
11/03/06 01:44:02 (17 years ago)
Author:
zorg
Message:

various cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mppenc/branches/zorg/src/mppenc.c

    r86 r87  
    3939int           PredictionBands =  0;
    4040int           CombPenalities  = -1;
    41 extern float  KBD1            =  2;
    42 extern float  KBD2            = -1.;
     41float         KBD1            =  2;
     42float         KBD2            = -1.;
    4343int           DisplayUpdateTime = 1;
    4444int           APE_Version     = 2000;
     
    334334             "  --radio          (--quality 4.00)   medium quality        (~ 130 kbps)\n"
    335335             "  --standard       (--quality 5.00)   high quality, (dflt)  (~ 180 kbps)\n"
    336              "  --extreme        (--quality 6.00)   excellent quality     (~ 210 kbps)\n"
     336             "  --insane         (--quality 7.00)   excellent quality     (~ 240 kbps)\n"
    337337             "\n"
    338338
     
    340340             "  mppenc inputfile.wav\n"
    341341             "  mppenc inputfile.wav outputfile.mpc\n"
    342              "  mppenc --extreme inputfile.wav outputfile.mpc\n"
     342             "  mppenc --insane inputfile.wav outputfile.mpc\n"
    343343             "  mppenc --silent --radio inputfile.wav outputfile.mpc\n"
    344344             "\n"
    345              "For further information see the file 'MANUAL.TXT' or use option --longhelp.\n" );
     345             "For further information use option --longhelp.\n" );
    346346}
    347347
     
    18041804            }
    18051805
    1806             Allocate ( Max_Band, Res_L, X[0].L, SCF_Index_L[0], SNR_comp_L, SMR.L, Power_L, Transient );   // allocate bits for left + right channel
    1807             Allocate ( Max_Band, Res_R, X[0].R, SCF_Index_R[0], SNR_comp_R, SMR.R, Power_R, Transient );
     1806            Allocate ( Max_Band, Res_L, X[0].L, SCF_Index_L[0], SNR_comp_L, SMR.L, (const SCFTriple*) Power_L, Transient );   // allocate bits for left + right channel
     1807            Allocate ( Max_Band, Res_R, X[0].R, SCF_Index_R[0], SNR_comp_R, SMR.R, (const SCFTriple*) Power_R, Transient );
    18081808
    18091809            Quantisierung ( Max_Band, Res_L, Res_R, X, Q );             // quantize samples
     
    18351835        memmove ( Main.S, Main.S + BLOCK, CENTER * sizeof(float) );
    18361836
    1837                 if ( AllSamplesRead + BLOCK > SamplesInWAVE )
    1838                 {
    1839                         int n = 0;
    1840                 }
     1837                //if ( AllSamplesRead + BLOCK > SamplesInWAVE )
     1838                //{
     1839                //      int n = 0;
     1840                //}
    18411841
    18421842        // read samples
Note: See TracChangeset for help on using the changeset viewer.