1. 01 Jul, 2022 2 commits
    • Round the frame rate in MediaFormat · f2b4701e
      Although MediaCodec claims supporting float frame rate, encoder init failed on
      API21 Nexus 5. Since it's just a performance hint to the codec, it's OK to
      generalize it to other API versions.
      
      PiperOrigin-RevId: 458434650
      (cherry picked from commit 1f47fa83)
      claincly committed
    • Fix MIDI command timestamp calculations and synthesization duration. · 8b0fe168
      - Improve variable naming to include time units for clarity
      - Fix existing timestamp calculations to respect time units as well as track tempo (default values for now)
      - Ensure the synthesizer produces PCM for the correct amount of time (including gaps between commands).
      
      PiperOrigin-RevId: 458428243
      (cherry picked from commit da0a208b)
      hmzh committed
  2. 30 Jun, 2022 1 commit
  3. 29 Jun, 2022 4 commits
  4. 28 Jun, 2022 1 commit
  5. 27 Jun, 2022 1 commit
    • Add timestamp to `Metadata` · 87d91ed1
      `MetadataRenderer` is updated to output `Metadata` with its presentation time, in microseconds.
      
      PiperOrigin-RevId: 457444718
      (cherry picked from commit b2831d85)
      rohks committed
  6. 24 Jun, 2022 2 commits
  7. 23 Jun, 2022 4 commits
  8. 22 Jun, 2022 3 commits
  9. 20 Jun, 2022 2 commits
  10. 17 Jun, 2022 1 commit
  11. 16 Jun, 2022 1 commit
  12. 15 Jun, 2022 4 commits
  13. 13 Jun, 2022 2 commits
  14. 10 Jun, 2022 2 commits
  15. 09 Jun, 2022 3 commits
  16. 08 Jun, 2022 3 commits
  17. 06 Jun, 2022 3 commits
  18. 31 May, 2022 1 commit
    • Add async error listener to transformer to avoid exception wrapping. · 27f23041
      This internal listener avoids wrapping the TransformationExceptions
      in PlaybackExceptions that are handled via the Player.Listener and
      is also used for FrameProcessingExceptions which already avoided
      the PlaybackException layer previously.
      
      This listener will also be useful in follow-ups for encoder-related
      TransformationExceptions that are thrown in the SurfaceProvider that
      will be called on the GL thread.
      
      PiperOrigin-RevId: 452074575
      (cherry picked from commit 35b5147e)
      hschlueter committed