Language

PlaybackOffload Enum

Definition

Reports format-specific support for offloaded audio decoding and optional gapless transitions.

public enum PlaybackOffload
type PlaybackOffload = 
Inheritance
PlaybackOffload

Fields

Name Value Description
NotSupported 0

Return value for getPlaybackOffloadSupport(AudioFormat,AudioAttributes): offload playback not supported

Android reference for android.media.AudioManager.PLAYBACK_OFFLOAD_NOT_SUPPORTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Supported 1

Return value for getPlaybackOffloadSupport(AudioFormat,AudioAttributes): offload playback supported

Android reference for android.media.AudioManager.PLAYBACK_OFFLOAD_SUPPORTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

GaplessSupported 2

Return value for getPlaybackOffloadSupport(AudioFormat,AudioAttributes): offload playback supported with gapless transitions

Android reference for android.media.AudioManager.PLAYBACK_OFFLOAD_GAPLESS_SUPPORTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

The result describes support for the queried audio format and attributes. A supported result does not reserve decoding resources or guarantee their availability at that moment.

Applies to