Language

FlushFromAccuracy Enum

Definition

public enum FlushFromAccuracy
type FlushFromAccuracy = 
Inheritance
FlushFromAccuracy

Fields

Name Value Description
BestEffort 0

Accuracy mode for flushWrittenFramesFromPosition(long, int) to indicate the framework will flush the data as close as possible, but not below, to the requested position.

Android reference for android.media.AudioTrack.FLUSH_FROM_ACCURACY_BEST_EFFORT.

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.

Exact 1

Accuracy mode for flushWrittenFramesFromPosition(long, int) to indicate the AudioTrack must be flushed from the requested position. If it is not possible to flush from the requested position, the AudioTrack must not be flushed.

Android reference for android.media.AudioTrack.FLUSH_FROM_ACCURACY_EXACT.

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