Move Audio Offload section to unreleased changes
PiperOrigin-RevId: 537857911
This commit is contained in:
parent
c7a41a7b41
commit
4306e0bb82
@ -16,6 +16,23 @@
|
|||||||
* Extractors:
|
* Extractors:
|
||||||
* Audio:
|
* Audio:
|
||||||
* Audio Offload:
|
* 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:
|
||||||
* Allow `MediaCodecVideoRenderer` to use a custom
|
* Allow `MediaCodecVideoRenderer` to use a custom
|
||||||
`VideoFrameProcessor.Factory`.
|
`VideoFrameProcessor.Factory`.
|
||||||
@ -67,24 +84,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