mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Removing unreleased Audio Offload changes from git
This commit is contained in:
parent
723424a852
commit
b79ee36661
@ -20,24 +20,6 @@ This release includes the following changes since
|
|||||||
* Audio:
|
* Audio:
|
||||||
* Add direct playback support for DTS Express and DTS:X
|
* Add direct playback support for DTS Express and DTS:X
|
||||||
([#335](https://github.com/androidx/media/pull/335)).
|
([#335](https://github.com/androidx/media/pull/335)).
|
||||||
* Audio Offload:
|
|
||||||
* Add `AudioSink.getFormatOffloadSupport(Format)` that retrieves level of
|
|
||||||
offload support the sink can provide for the format through a
|
|
||||||
`DefaultAudioOffloadSupportProvider`. It returns the new
|
|
||||||
`AudioOffloadSupport` that contains `isFormatSupported`,
|
|
||||||
`isGaplessSupported`, and `isSpeedChangeSupported`.
|
|
||||||
* Add `AudioSink.setOffloadMode()` through which the offload configuration
|
|
||||||
on the audio sink is configured. Default is
|
|
||||||
`AudioSink.OFFLOAD_MODE_DISABLED`.
|
|
||||||
* Offload can be enabled through `setAudioOffloadPreference` in
|
|
||||||
`TrackSelectionParameters`. If the set preference is to enable, the
|
|
||||||
device supports offload for the format, and the track selection is a
|
|
||||||
single audio track, then audio offload will be enabled.
|
|
||||||
* Remove parameter `enableOffload` from
|
|
||||||
`DefaultRenderersFactory.buildAudioSink` method signature.
|
|
||||||
* Remove method `DefaultAudioSink.Builder.setOffloadMode`.
|
|
||||||
* Remove intdef value
|
|
||||||
`DefaultAudioSink.OffloadMode.OFFLOAD_MODE_ENABLED_GAPLESS_DISABLED`.
|
|
||||||
* Video:
|
* Video:
|
||||||
* Make `MediaCodecVideoRenderer` report a `VideoSize` with a width and
|
* Make `MediaCodecVideoRenderer` report a `VideoSize` with a width and
|
||||||
height of 0 when the renderer is disabled.
|
height of 0 when the renderer is disabled.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user