Android.Media.AudioTrack.Flush Method
Flushes the audio data currently queued for playback.

Syntax

[Android.Runtime.Register("flush", "()V", "GetFlushHandler")]
public virtual void Flush ()

Remarks

Flushes the audio data currently queued for playback. Any data that has not been played back will be discarded. No-op if not stopped or paused, or if the track's creation mode is not AudioTrack.MODE_STREAM.

[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