Partager via


AudioTrack.OffloadPadding Property

Definition

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

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

Property Value

decoder padding expressed in frames.

Attributes

Remarks

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

This padding indicates the number of frames to be ignored at the end 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.getOffloadPadding().

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