1. 01 Aug, 2019 21 commits
  2. 30 Jul, 2019 1 commit
  3. 29 Jul, 2019 9 commits
  4. 27 Jul, 2019 2 commits
    • Bump version to 2.10.4 · 09835c45
      PiperOrigin-RevId: 260164426
      olly committed
    • Fix handling of channel count changes with speed adjustment · 6f7b765a
      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
  5. 26 Jul, 2019 5 commits
  6. 24 Jul, 2019 2 commits
    • Fix doc for preferred audio and text language. · a0ca79ab
      Both tags allow any BCP47 compliant code, not just the ISO 639-2/T ones.
      
      PiperOrigin-RevId: 259714587
      tonihei committed
    • Simplify and improve text selection logic. · e84d88e9
      This changes the logic in the following ways:
       - If no preferred language is matched, prefer better scores for the selected
         audio language.
       - If a preferred language is matched, always prefer the better match
         irrespective of default or forced flags.
       - If a preferred language score and the isForced flag is the same, prefer
         tracks with a better selected audio language match.
      
      PiperOrigin-RevId: 259707430
      tonihei committed