AudioManager.DirectPlaybackOffloadGaplessSupported Field
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.
Caution
This constant will be removed in the future version. Use Android.Media.DirectPlaybackSupport enum directly instead of this field.
Return value for #getDirectPlaybackSupport(AudioFormat, AudioAttributes)
:
direct offload playback supported with gapless transitions.
[Android.Runtime.Register("DIRECT_PLAYBACK_OFFLOAD_GAPLESS_SUPPORTED", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.DirectPlaybackSupport enum directly instead of this field.", true)]
public const Android.Media.DirectPlaybackSupport DirectPlaybackOffloadGaplessSupported = 3;
[<Android.Runtime.Register("DIRECT_PLAYBACK_OFFLOAD_GAPLESS_SUPPORTED", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.DirectPlaybackSupport enum directly instead of this field.", true)>]
val mutable DirectPlaybackOffloadGaplessSupported : Android.Media.DirectPlaybackSupport
Field Value
Value = 3- Attributes
Remarks
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.
Java documentation for android.media.AudioManager.DIRECT_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.