The members of Android.Media.AudioTrack are listed below.
See Also: Inherited members from Java.Lang.Object
Class constructor with Android.Media.AudioAttributes and Android.Media.AudioFormat. | ||
Class constructor. | ||
Class constructor. | ||
Class constructor with audio session. | ||
Class constructor with audio session. |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | Error | TrackStatus (-1). Denotes a generic operation failure. |
const | ErrorBadValue | TrackStatus (-2). Denotes a failure due to the use of an invalid value. |
const | ErrorInvalidOperation | TrackStatus (-3). Denotes a failure due to the improper use of a method. |
const | Success | TrackStatus (0). Denotes a successful operation. |
[read-only] | AudioFormat | Encoding. Returns the configured audio data format. |
[read-only] | AudioSessionId | int. Returns the audio session ID. |
[read-only] | ChannelConfiguration | ChannelOut. Returns the configured channel configuration. |
[read-only] | ChannelCount | int. Returns the configured number of channels. |
[read-only] static | MaxVolume | float. Returns the maximum gain value, which is greater than or equal to 1. |
[read-only] static | MinVolume | float. Returns the minimum gain value, which is the constant 0. |
[read-only] | NotificationMarkerPosition | int. Returns marker position expressed in frames. |
[read-only] | PlaybackHeadPosition | int. Returns the playback head position expressed in frames. |
[read-only] | PlaybackRate | int. Returns the current playback rate in Hz. |
[read-only] | PlayState | PlayState. Returns the playback state of the AudioTrack instance. |
[read-only] | PositionNotificationPeriod | int. Returns the notification update period expressed in frames. |
[read-only] | SampleRate | int. Returns the configured audio data sample rate in Hz |
[read-only] | State | AudioTrackState. Returns the state of the AudioTrack instance. |
[read-only] | StreamType | Stream. Returns the type of audio stream this AudioTrack is configured for. |
[read-only] | NativeFrameCount | int. Returns the "native frame count", derived from the bufferSizeInBytes specified at creation time and converted to frame units. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
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. |
MarkerReached | Documentation for this section has not yet been entered. | |
PeriodicNotification | Documentation for this section has not yet been entered. |