DirectPlaybackSupport Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum DirectPlaybackSupport
[<System.Flags>]
type DirectPlaybackSupport =
- Inheritance
-
DirectPlaybackSupport
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| NotSupported | 0 | Return value for getDirectPlaybackSupport(AudioFormat,AudioAttributes): direct playback not supported. Android reference for 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. |
| OffloadSupported | 1 | Return value for getDirectPlaybackSupport(AudioFormat,AudioAttributes): direct offload playback supported. Compressed offload is a variant of direct playback. It is the feature that allows audio processing tasks to be done on the Android device but not on the application processor, instead, it is handled by dedicated hardware such as audio DSPs. That will allow the application processor to be idle as much as possible, which is good for power saving. Compressed offload playback supports AudioTrack.StreamEventCallback for event notifications. Android reference for 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. |
| OffloadGaplessSupported | 3 | Return value for getDirectPlaybackSupport(AudioFormat,AudioAttributes): direct offload playback supported with gapless transitions. Compressed offload is a variant of direct playback. It is the feature that allows audio processing tasks to be done on the Android device but not on the application processor, instead, it is handled by dedicated hardware such as audio DSPs. That will allow the application processor to be idle as much as possible, which is good for power saving. Compressed offload playback supports AudioTrack.StreamEventCallback for event notifications. Gapless transitions indicates the ability to play consecutive audio tracks without an audio silence in between. Android reference for 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. |
| BitstreamSupported | 4 | Return value for getDirectPlaybackSupport(AudioFormat,AudioAttributes): direct playback supported. This value covers direct playback that is bitstream pass-through such as compressed pass-through. Android reference for 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. |