1. 27 Jul, 2019 2 commits
    • Bump version to 2.10.4 · d76bf4bf
      PiperOrigin-RevId: 260164426
      olly committed
    • Fix handling of channel count changes with speed adjustment · 95d29884
      When using speed adjustment it was possible for playback to get stuck at a
      period transition when the channel count changed: SonicAudioProcessor would be
      drained at the point of the period transition in preparation for creating a new
      AudioTrack with the new channel count, but during draining the incorrect (new)
      channel count was used to calculate the output buffer size for pending data from
      Sonic. This meant that, for example, if the channel count changed from stereo to
      mono we could have an output buffer size that stored an non-integer number of
      audio frames, and in turn this would cause writing to the AudioTrack to get
      stuck as the AudioTrack would prevent writing a partial audio frame.
      
      Use Sonic's current channel count when draining output to fix the issue.
      
      PiperOrigin-RevId: 260156541
      andrewlewis committed
  2. 26 Jul, 2019 18 commits
  3. 14 Jul, 2019 2 commits
  4. 09 Jul, 2019 18 commits