Home | History | Annotate | Download | only in media

Lines Matching defs:AudioTrack

36 class AudioTrack : public RefBase
40 /* Events used by AudioTrack callback function (callback_t).
41 * Keep in sync with frameworks/base/media/java/android/media/AudioTrack.java NATIVE_EVENT_*.
56 // Not currently used by android.media.AudioTrack.
98 * event: type of event notified (see enum AudioTrack::event_type).
101 * - EVENT_MORE_DATA: pointer to AudioTrack::Buffer struct. The callback must not write
117 * an AudioTrack object.
130 /* How data is transferred to AudioTrack
140 /* Constructs an uninitialized AudioTrack. No connection with
143 AudioTrack();
145 /* Creates an AudioTrack object and registers it with AudioFlinger.
163 * latency of the track. The actual size selected by the AudioTrack could be
174 * transferType: How data is transferred to AudioTrack.
178 AudioTrack( audio_stream_type_t streamType,
205 AudioTrack( audio_stream_type_t streamType,
221 /* Terminates the AudioTrack and unregisters it from AudioFlinger.
222 * Also destroys all resources associated with the AudioTrack.
225 virtual ~AudioTrack();
228 /* Initialize an AudioTrack that was created using the AudioTrack() constructor.
229 * Don't call set() more than once, or after the AudioTrack() constructors that take parameters.
232 * - INVALID_OPERATION: AudioTrack is already initialized
235 * If status is not equal to NO_ERROR, don't call any other APIs on this AudioTrack.
239 * Parameters not listed in the AudioTrack constructors above:
244 * (mStreamType == AUDIO_STREAM_DEFAULT) implies this AudioTrack has valid attributes
264 /* Result of constructing the AudioTrack. This must be checked for successful initialization
265 * before using any AudioTrack API (except for set()), because using
266 * an uninitialized AudioTrack produces undefined results.
272 * This includes the latency due to AudioTrack buffer size, AudioMixer (if any)
373 * If the AudioTrack has been opened with no callback function associated, the operation will
383 * - INVALID_OPERATION: the AudioTrack has no callback installed.
392 * If the AudioTrack has been opened with no callback function associated, the operation will
402 * - INVALID_OPERATION: the AudioTrack has no callback installed.
418 * - INVALID_OPERATION: the AudioTrack is not stopped or paused, or is streaming mode.
419 * - BAD_VALUE: The specified position is beyond the number of frames present in AudioTrack
444 /* Forces AudioTrack buffer full condition. When playing a static buffer, this method avoids
446 * This method must be called with the AudioTrack in paused or stopped state.
451 * - INVALID_OPERATION: the AudioTrack is not stopped or paused, or is streaming mode.
455 /* Returns a handle on the audio output used by this AudioTrack.
472 * AudioTrack session ID.
549 * INVALID_OPERATION AudioTrack is configured for static buffer or streaming mode
552 * AudioTrack was stopped during the write
600 AudioTrack(const AudioTrack& other);
601 AudioTrack& operator = (const AudioTrack& other);
609 AudioTrackThread(AudioTrack& receiver, bool bCanCallJava = false);
622 friend class AudioTrack;
624 AudioTrack& mReceiver;
692 // this AudioTrack has valid attributes
789 DeathNotifier(AudioTrack* audioTrack) : mAudioTrack(audioTrack) { }
793 const wp<AudioTrack> mAudioTrack;
802 class TimedAudioTrack : public AudioTrack