Udostępnij za pośrednictwem


AudioTrack.OffloadDelay Property

Definition

Return the decoder delay of an offloaded track, expressed in frames, previously set with #setOffloadDelayPadding(int, int), or 0 if it was never modified.

public virtual int OffloadDelay { [Android.Runtime.Register("getOffloadDelay", "()I", "GetGetOffloadDelayHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getOffloadDelay", "()I", "GetGetOffloadDelayHandler", ApiSince=29)>]
member this.OffloadDelay : int

Property Value

decoder delay expressed in frames.

Attributes

Remarks

Return the decoder delay of an offloaded track, expressed in frames, previously set with #setOffloadDelayPadding(int, int), or 0 if it was never modified.

This delay indicates the number of frames to be ignored at the beginning of the stream. This value can only be queried on a track successfully initialized with AudioTrack.Builder#setOffloadedPlayback(boolean).

Java documentation for android.media.AudioTrack.getOffloadDelay().

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.

Applies to