The methods of Android.Media.AudioTrack are listed below. For a list of all members, see the AudioTrack Members list.
See Also: Inherited members from Java.Lang.Object
AttachAuxEffect(int)Attaches an auxiliary effect to the audio track. | ||
Flush()Flushes the audio data currently queued for playback. | ||
static | GetMinBufferSize(int, ChannelOut, Encoding)Returns the minimum buffer size required for the successful creation of an AudioTrack object to be created in the AudioTrack.MODE_STREAM mode. | |
static | GetNativeOutputSampleRate(Stream)Returns the output sample rate in Hz for the specified stream type. | |
GetTimestamp(AudioTimestamp)Poll for a timestamp on demand. | ||
Pause()Pauses the playback of the audio data. | ||
Play()Starts playing an AudioTrack. | ||
Release()Releases the native AudioTrack resources. | ||
ReloadStaticData()Notifies the native resource to reuse the audio data already loaded in the native layer, that is to rewind to start of buffer. | ||
SetAuxEffectSendLevel(float)Sets the send level of the audio track to the attached auxiliary effect AudioTrack.AttachAuxEffect(int). | ||
SetLoopPoints(int, int, int)Sets the loop points and the loop count. | ||
SetNotificationMarkerPosition(int)Sets the position of the notification marker. | ||
SetPlaybackHeadPosition(int)Sets the playback head position. | ||
SetPlaybackPositionUpdateListener(AudioTrack.IOnPlaybackPositionUpdateListener)Sets the listener the AudioTrack notifies when a previously set marker is reached or for each periodic playback head position update. | ||
SetPlaybackPositionUpdateListener(AudioTrack.IOnPlaybackPositionUpdateListener, Android.OS.Handler)Sets the listener the AudioTrack notifies when a previously set marker is reached or for each periodic playback head position update. | ||
SetPlaybackRate(int)Sets the playback sample rate for this track. | ||
SetPositionNotificationPeriod(int)Sets the period for the periodic notification event. | ||
SetStereoVolume(float, float)Sets the specified left and right output gain values on the AudioTrack. | ||
SetVolume(float)Sets the specified output gain value on all channels of this track. | ||
Stop()Stops playing the audio data. | ||
Write(Java.Nio.ByteBuffer, int, WriteMode)Writes the audio data to the audio sink for playback (streaming mode), or copies audio data for later playback (static buffer mode). | ||
Write(byte[], int, int)Writes the audio data to the audio sink for playback (streaming mode), or copies audio data for later playback (static buffer mode). | ||
Write(short[], int, int)Writes the audio data to the audio sink for playback (streaming mode), or copies audio data for later playback (static buffer mode). | ||
Write(float[], int, int, WriteMode)Writes the audio data to the audio sink for playback (streaming mode), or copies audio data for later playback (static buffer mode). | ||
WriteAsync(Java.Nio.ByteBuffer, int, WriteMode)Documentation for this section has not yet been entered. | ||
WriteAsync(byte[], int, int)Documentation for this section has not yet been entered. | ||
WriteAsync(short[], int, int)Documentation for this section has not yet been entered. | ||
WriteAsync(float[], int, int, WriteMode)Documentation for this section has not yet been entered. |