Skip to content
Snippets Groups Projects
Forked from Xiph.Org / Opus
Source project has a limited visibility.
  • Jean-Marc Valin's avatar
    b24e5746
    Misc bug fixes · b24e5746
    Jean-Marc Valin authored
    - There was a bug where the decoder resampler was not properly initialized
    when fs_kHz == API_fs_kHz. In that case the resampler would continue to
    upsample, and the output was corrupt.
    
    - The delay value in the decoder was taken from the state before it was
    potentially updated. This caused the decoder to apply the new dalay value one
    frame late
    
    - The encoder and decoder states are now updated more consistently, when
    the sampling rate changes (pesq liked these changes)
    
    - Properly resetting the side channel encoder and decoder for the first
    frame with side coding active again
    
    - Faster updating the "ratio" value in the LR_to_MS() code for large
    prediction values means that for certain extreme/artificial input
    signals the output looks better
    b24e5746
    History
    Misc bug fixes
    Jean-Marc Valin authored
    - There was a bug where the decoder resampler was not properly initialized
    when fs_kHz == API_fs_kHz. In that case the resampler would continue to
    upsample, and the output was corrupt.
    
    - The delay value in the decoder was taken from the state before it was
    potentially updated. This caused the decoder to apply the new dalay value one
    frame late
    
    - The encoder and decoder states are now updated more consistently, when
    the sampling rate changes (pesq liked these changes)
    
    - Properly resetting the side channel encoder and decoder for the first
    frame with side coding active again
    
    - Faster updating the "ratio" value in the LR_to_MS() code for large
    prediction values means that for certain extreme/artificial input
    signals the output looks better