AudioManager.DirectPlaybackOffloadGaplessSupported 字段

定义

注意

This constant will be removed in the future version. Use Android.Media.DirectPlaybackSupport enum directly instead of this field.

返回值 #getDirectPlaybackSupport(AudioFormat, AudioAttributes):不受间隙切换支持的直接卸载播放。

[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

字段值

Value = 3
属性

注解

返回值 #getDirectPlaybackSupport(AudioFormat, AudioAttributes):不受间隙切换支持的直接卸载播放。 压缩卸载是直接播放的变体。 此功能允许在 Android 设备上执行音频处理任务,而不是在应用程序处理器上完成,而是由专用硬件(如音频 DSP)处理。 这将允许应用程序处理器尽可能空闲,这有利于节省电源。 压缩卸载播放支持 AudioTrack.StreamEventCallback 事件通知。 无间隙切换表示能够在两者之间播放连续音频曲目,而无需音频静音。

适用于 . 的 android.media.AudioManager.DIRECT_PLAYBACK_OFFLOAD_GAPLESS_SUPPORTEDJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于