Sdílet prostřednictvím


AudioTrackMode Enum

Definition

Enumerates values returned by the Static, and Stream members and taken as a parameter of several methods of AudioTrack.

public enum AudioTrackMode
type AudioTrackMode = 
Inheritance
AudioTrackMode

Fields

Static 0

Creation mode where audio data is transferred from Java to the native layer only once before the audio starts playing.

Stream 1

Creation mode where audio data is streamed from Java to the native layer as the audio is playing.

Remarks

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