AudioTrack.SetOffloadDelayPadding(Int32, Int32) Method

Definition

Configures the delay and padding values for the current compressed stream playing in offload mode.

[Android.Runtime.Register("setOffloadDelayPadding", "(II)V", "GetSetOffloadDelayPadding_IIHandler", ApiSince=29)]
public virtual void SetOffloadDelayPadding (int delayInFrames, int paddingInFrames);
[<Android.Runtime.Register("setOffloadDelayPadding", "(II)V", "GetSetOffloadDelayPadding_IIHandler", ApiSince=29)>]
abstract member SetOffloadDelayPadding : int * int -> unit
override this.SetOffloadDelayPadding : int * int -> unit

Parameters

delayInFrames
Int32

number of frames to be ignored at the beginning of the stream. A value of 0 indicates no delay is to be applied.

paddingInFrames
Int32

number of frames to be ignored at the end of the stream. A value of 0 of 0 indicates no padding is to be applied.

Attributes

Remarks

Java documentation for android.media.AudioTrack.setOffloadDelayPadding(int, int).

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