1. 10 Jan, 2023 8 commits
  2. 04 Jan, 2023 30 commits
  3. 21 Dec, 2022 2 commits
    • Ensure supported request only updates changes fields. · f6434c67
      The TransformationRequest passed to FallbackListener (and
      createSupportedTransformationRequest) can have null for values that
      are inferred from source. Within fallback, this can be height, width,
      video mime type and audio mime type (HDR mode is not linked to source).
      requestedFormat has these values populated from source, and
      supportedFormat then finds the closest supported values to the
      requested.
      
      If any of the values in supportedFormat do not match the
      requestedFormat, then this method would build upon the
      TransformationRequest and update ALL possible fallback fields. This is
      a problem because the fallback listener compares the original request
      to the fallback one and notifies about all the fields that have
      changed.
      
      This CL changes this so that only the values that are not the same as
      requested are changed in the supported request that is given to the
      fallback listener.
      
      PiperOrigin-RevId: 496908492
      samrobinson committed
    • Fix AS warnings and errors in FloatAudioMixingAlgorithmTest · f3ec59c8
      When trying to run the test on Android Studio, error "incompatible
      types: Buffer cannot be converted to ByteBuffer" is logged. This is
      because ByteBuffer.flip() returns a Buffer (and not a ByteBuffer).
      Annotation @CovariantReturnType on ByteBuffer.flip() should resolve this
      automatically but it doesn't seem supported at the moment.
      PiperOrigin-RevId: 496894723
      kimvde committed