• kjoswiak's avatar
    Android: Propagate sample rate change to audio decoder job · aa9cc0db
    kjoswiak authored
    AudioDecoderJob maintains an object audio_timestamp_helper_ for use with AV sync. Previously, this object was configured with demuxer value for sample rate, whereas it should instead be synced with the decoder's reported sample rate.
    
    This CL enables AudioDecoderJob to track decoder output rate, and ensures change in output format is propagated to this object.
    
    BUG=internal b/18873488
    
    Review URL: https://codereview.chromium.org/805273007
    
    Cr-Commit-Position: refs/heads/master@{#313416}
    aa9cc0db
media_codec_bridge.cc 28.5 KB