Home | History | Annotate | Download | only in media

Lines Matching defs:AudioTrack

36 class AudioTrack : public RefBase
45 /* Events used by AudioTrack callback function (callback_t).
46 * Keep in sync with frameworks/base/media/java/android/media/AudioTrack.java NATIVE_EVENT_*.
61 // Not currently used by android.media.AudioTrack.
102 * event: type of event notified (see enum AudioTrack::event_type).
105 * - EVENT_MORE_DATA: pointer to AudioTrack::Buffer struct. The callback must not write
121 * an AudioTrack object.
132 /* How data is transferred to AudioTrack
142 /* Constructs an uninitialized AudioTrack. No connection with
145 AudioTrack();
147 /* Creates an AudioTrack object and registers it with AudioFlinger.
164 * latency of the track. The actual size selected by the AudioTrack could be
175 * transferType: How data is transferred to AudioTrack.
179 AudioTrack( audio_stream_type_t streamType,
203 AudioTrack( audio_stream_type_t streamType,
216 /* Terminates the AudioTrack and unregisters it from AudioFlinger.
217 * Also destroys all resources associated with the AudioTrack.
220 virtual ~AudioTrack();
223 /* Initialize an AudioTrack that was created using the AudioTrack() constructor.
224 * Don't call set() more than once, or after the AudioTrack() constructors that take parameters.
227 * - INVALID_OPERATION: AudioTrack is already initialized
230 * If status is not equal to NO_ERROR, don't call any other APIs on this AudioTrack.
234 * Parameters not listed in the AudioTrack constructors above:
253 /* Result of constructing the AudioTrack. This must be checked for successful initialization
254 * before using any AudioTrack API (except for set()), because using
255 * an uninitialized AudioTrack produces undefined results.
261 * This includes the latency due to AudioTrack buffer size, AudioMixer (if any)
362 * If the AudioTrack has been opened with no callback function associated, the operation will
372 * - INVALID_OPERATION: the AudioTrack has no callback installed.
381 * If the AudioTrack has been opened with no callback function associated, the operation will
391 * - INVALID_OPERATION: the AudioTrack has no callback installed.
407 * - INVALID_OPERATION: the AudioTrack is not stopped or paused, or is streaming mode.
408 * - BAD_VALUE: The specified position is beyond the number of frames present in AudioTrack
433 /* Forces AudioTrack buffer full condition. When playing a static buffer, this method avoids
435 * This method must be called with the AudioTrack in paused or stopped state.
440 * - INVALID_OPERATION: the AudioTrack is not stopped or paused, or is streaming mode.
444 /* Returns a handle on the audio output used by this AudioTrack.
460 * AudioTrack session ID.
546 * INVALID_OPERATION AudioTrack is configured for static buffer or streaming mode
549 * AudioTrack was stopped during the write
586 AudioTrack(const AudioTrack& other);
587 AudioTrack& operator = (const AudioTrack& other);
593 AudioTrackThread(AudioTrack& receiver, bool bCanCallJava = false);
606 friend class AudioTrack;
608 AudioTrack& mReceiver;
744 DeathNotifier(AudioTrack* audioTrack) : mAudioTrack(audioTrack) { }
748 const wp<AudioTrack> mAudioTrack;
756 class TimedAudioTrack : public AudioTrack