diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-11-03 17:05:03 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-11-03 17:05:03 +0100 |
commit | 0c1c574cd2f0984121e418d6e20d5d6357fc54fa (patch) | |
tree | e703e9e5de7ab36f7f6ac4d85dabc6130047878b /libAACenc/src/aacenc_lib.cpp | |
parent | 789bdc3270fa537914eacc77208a194c9eed2e53 (diff) | |
download | fdk-aac-dabplus-0c1c574cd2f0984121e418d6e20d5d6357fc54fa.tar.gz fdk-aac-dabplus-0c1c574cd2f0984121e418d6e20d5d6357fc54fa.tar.bz2 fdk-aac-dabplus-0c1c574cd2f0984121e418d6e20d5d6357fc54fa.zip |
Cleanup bootup screen
Diffstat (limited to 'libAACenc/src/aacenc_lib.cpp')
-rw-r--r-- | libAACenc/src/aacenc_lib.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/libAACenc/src/aacenc_lib.cpp b/libAACenc/src/aacenc_lib.cpp index edda485..6b77155 100644 --- a/libAACenc/src/aacenc_lib.cpp +++ b/libAACenc/src/aacenc_lib.cpp @@ -486,21 +486,21 @@ static void FDKaacEnc_MapConfig( cc->channelMode = hAacConfig->channelMode; if(extCfg->userTpType == TT_DABPLUS && hAacConfig->nSubFrames==1) { - switch(hAacConfig->sampleRate) { - case 48000: - cc->nSubFrames=6; - break; - case 32000: - cc->nSubFrames=4; - break; - case 24000: - cc->nSubFrames=3; - break; - case 16000: - cc->nSubFrames=2; - break; - } - fprintf(stderr, "hAacConfig->nSubFrames=%d hAacConfig->sampleRate=%d\n", hAacConfig->nSubFrames, hAacConfig->sampleRate); + switch(hAacConfig->sampleRate) { + case 48000: + cc->nSubFrames=6; + break; + case 32000: + cc->nSubFrames=4; + break; + case 24000: + cc->nSubFrames=3; + break; + case 16000: + cc->nSubFrames=2; + break; + } + //fprintf(stderr, "hAacConfig->nSubFrames=%d hAacConfig->sampleRate=%d\n", hAacConfig->nSubFrames, hAacConfig->sampleRate); } else { cc->nSubFrames = (hAacConfig->nSubFrames > 1 && extCfg->userTpNsubFrames == 1) ? hAacConfig->nSubFrames @@ -770,7 +770,7 @@ INT aacEncoder_LimitBitrate( FDK_ASSERT(bitRate > 0); - fprintf(stderr, "aacEncoder_LimitBitrate(): bitRate=%d\n", bitRate); + //fprintf(stderr, "aacEncoder_LimitBitrate(): bitRate=%d\n", bitRate); return bitRate; } @@ -981,7 +981,7 @@ AACENC_ERROR FDKaacEnc_AdjustEncSettings(HANDLE_AACENCODER hAacEncoder, - fprintf(stderr, "config->userBitrate=%d\n", config->userBitrate); + //fprintf(stderr, "config->userBitrate=%d\n", config->userBitrate); /* We need the frame length to call aacEncoder_LimitBitrate() */ hAacConfig->bitRate = aacEncoder_LimitBitrate( NULL, @@ -995,7 +995,7 @@ AACENC_ERROR FDKaacEnc_AdjustEncSettings(HANDLE_AACENCODER hAacEncoder, hAacConfig->sbrRatio, hAacConfig->audioObjectType ); - fprintf(stderr, "hAacConfig->bitRate=%d\n", hAacConfig->bitRate); + //fprintf(stderr, "hAacConfig->bitRate=%d\n", hAacConfig->bitRate); /* Configure PNS */ if ( ((hAacConfig->bitrateMode>=1) && (hAacConfig->bitrateMode<=5)) /* VBR without PNS. */ @@ -1040,7 +1040,7 @@ AACENC_ERROR FDKaacEnc_AdjustEncSettings(HANDLE_AACENCODER hAacEncoder, hAacEncoder->metaDataAllowed = 0; } - fprintf(stderr, "hAacEncoder->metaDataAllowed=%d\n", hAacEncoder->metaDataAllowed); + //fprintf(stderr, "hAacEncoder->metaDataAllowed=%d\n", hAacEncoder->metaDataAllowed); return err; } |