Android.Media.AudioTrack.SetPlaybackHeadPosition Method
Sets the playback head position.

Syntax

[Android.Runtime.Register("setPlaybackHeadPosition", "(I)I", "GetSetPlaybackHeadPosition_IHandler")]
[return:Android.Runtime.GeneratedEnum]
public virtual TrackStatus SetPlaybackHeadPosition (int positionInFrames)

Parameters

positionInFrames
playback head position expressed in frames Zero corresponds to start of buffer. The position must not be greater than the buffer size in frames, or negative.

Returns

Documentation for this section has not yet been entered.

Remarks

Sets the playback head position. The track must be stopped or paused for the position to be changed, and must use the AudioTrack.MODE_STATIC mode.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3