1. 24 Nov, 2022 5 commits
    • Exclude tracks from `PlayerInfo` if not changed · f262e913
      This change includes a change in the `IMediaController.aidl` file and needs
      to provide backwards compatibility for when a client connects that is of an older or
      newer version of the current service implementation.
      
      This CL proposes to create a new AIDL method `onPlayerInfoChangedWithExtensions`
      that is easier to extend in the future because it does use an `Bundle` rather than
      primitives. A `Bundle` can be changed in a backward/forwards compatible way
      in case we need further changes.
      
      The compatibility handling is provided in `MediaSessionStub` and `MediaControllerStub`. The approach is not based on specific AIDL/Binder features but implemented fully in application code.
      
      Issue: androidx/media#102
      #minor-release
      PiperOrigin-RevId: 490483068
      bachinger committed
    • Return output immediately if available from AudioProcessingPipeline. · 412c98e2
      If there is output data available (outputBuffer.hasRemaining()), then
      there is no need to move other data between the underlying processors.
      It will not change the buffer being returned by that call to getOutput.
      
      If there is no output data readily available, it's necessary to go to
      the AudioProcessors and pass buffers between them, as this may produce
      data for output.
      
      PiperOrigin-RevId: 490482653
      samrobinson committed
    • Merge pull request #10786 from TiVo:p-aacutil-test-impl · 8a9a66c2
      PiperOrigin-RevId: 490465182
      Ian Baker committed
    • Tests: Move codec configure() out of VideoDecodingWrapper constructor. · 4d421e7b
      This allows us to release both codecs used in SSIM when one fails to
      configure() or start().
      
      Tested and confirmed that on Samsung Galaxy Z Flip 4, running all
      TransformationTest.java tests, tests after transform8k24() fails to start the
      2nd codec:
      * Before this CL, all fail.
      * After this CL, all pass.
      
      PiperOrigin-RevId: 490461560
      huangdarwin committed
    • Fix SpeedChangingAudioProcessor handling of EMPTY_BUFFER. · c1e29237
      PiperOrigin-RevId: 490265564
      samrobinson committed
  2. 23 Nov, 2022 3 commits
  3. 22 Nov, 2022 16 commits
  4. 21 Nov, 2022 16 commits