Transient/VBR tuning, give more bits to frames where pitch changes

This commit is contained in:
Jean-Marc Valin 2011-12-07 17:39:40 -05:00
parent 971b055090
commit 2a9fdbc93d
3 changed files with 105 additions and 110 deletions

View file

@ -420,5 +420,6 @@ void tonality_analysis(TonalityAnalysisState *tonal, AnalysisInfo *info, CELTEnc
else if (bandwidth<=15 || (bandwidth==16 && close_enough))
tonal->opus_bandwidth = OPUS_BANDWIDTH_WIDEBAND;
}
info->noisiness = frame_noisiness;
info->valid = 1;
}