1. 07 Mar, 2022 3 commits
    • Remove CountDownLatch from MockPlayer · 45d51216
      The MockPlayer has a single CountDownLatch field and multiple boolean
      flags that track if a player method was called. Upon calling the methods
      the latch count. Tests set the latch count to match exactly with the
      number of expected player interactions then block the test thread until
      the latch reaches zero and assert the respective method flags are true.
      
      This is subject to false positives. If the underneath implementation
      changes and call more player method, then the test thread will unblock
      as soon as a certain number of interactions is performed, which may be
      less than what the test expected originally. However, the test may stil
      pass if the player thread had enough time to update the expected method
      flag.
      
      This change removes the single CountDownLatch and the boolean flags and
      instead it adds APIs to query the MockPlayer if a method has been called
      and await until a method is called. Internally, the MockPlayer has a
      ConditionVariable per method.
      
      PiperOrigin-RevId: 432399077
      christosts committed
    • Fix E-AC3 output capability check without sample rate · a73a9e9c
      #minor-release
      
      PiperOrigin-RevId: 432189509
      andrewlewis committed
    • Deprecate SingleSampleMediaSource.Factory#setTrackId · 232f2d81
      This method is no longer needed since we added SubtitleConfiguration#id
      in https://github.com/androidx/media/commit/59d98b9a4e2381647f3e4552b6935bcca1be6f89.
      
      Issue: google/ExoPlayer#10016
      
      #minor-release
      
      PiperOrigin-RevId: 432169262
      ibaker committed
  2. 03 Mar, 2022 8 commits
  3. 01 Mar, 2022 19 commits
  4. 28 Feb, 2022 1 commit
  5. 23 Feb, 2022 9 commits