Lines Matching defs:AudioTrack

42 class AudioTrack : virtual public RefBase
51 /* Events used by AudioTrack callback function (audio_track_cblk_t).
95 * event: type of event notified (see enum AudioTrack::event_type).
98 * - EVENT_MORE_DATA: pointer to AudioTrack::Buffer struct. The callback must not write
111 * an AudioTrack object.
121 /* Constructs an uninitialized AudioTrack. No connection with
124 AudioTrack();
140 * latency of the track. The actual size selected by the AudioTrack could be
154 AudioTrack( audio_stream_type_t streamType,
166 explicit AudioTrack( int streamType,
178 * the PCM data to be rendered by AudioTrack is passed in a shared memory buffer
180 * PCM data must be present in memory before the AudioTrack is started.
186 AudioTrack( audio_stream_type_t streamType,
197 /* Terminates the AudioTrack and unregisters it from AudioFlinger.
198 * Also destroys all resources associated with the AudioTrack.
200 ~AudioTrack();
203 /* Initialize an uninitialized AudioTrack.
206 * - INVALID_OPERATION: AudioTrack is already initialized
224 /* Result of constructing the AudioTrack. This must be checked
225 * before using any AudioTrack API (except for set()), because using
226 * an uninitialized AudioTrack produces undefined results.
232 * This includes the latency due to AudioTrack buffer size, AudioMixer (if any)
302 * loopStart: loop start expressed as the number of PCM frames played since AudioTrack start.
303 * loopEnd: loop end expressed as the number of PCM frames played since AudioTrack start.
315 * If the AudioTrack has been opened with no callback function associated, the operation will fail.
323 * - INVALID_OPERATION: the AudioTrack has no callback installed.
333 * If the AudioTrack has been opened with no callback function associated, the operation will fail.
341 * - INVALID_OPERATION: the AudioTrack has no callback installed.
346 /* Sets playback head position within AudioTrack buffer. The new position is specified
348 * This method must be called with the AudioTrack in paused or stopped state.
349 * Note that the actual position set is <position> modulo the AudioTrack buffer size in frames.
357 * position: New playback head position within AudioTrack buffer.
361 * - INVALID_OPERATION: the AudioTrack is not stopped.
362 * - BAD_VALUE: The specified position is beyond the number of frames present in AudioTrack buffer
367 /* Forces AudioTrack buffer full condition. When playing a static buffer, this method avoids
369 * This method must be called with the AudioTrack in paused or stopped state.
373 * - INVALID_OPERATION: the AudioTrack is not stopped.
377 /* Returns a handle on the audio output used by this AudioTrack.
393 * AudioTrack session ID.
441 * INVALID_OPERATION AudioTrack is configured for shared buffer mode
443 * STOPPED AudioTrack was stopped during the write
456 AudioTrack(const AudioTrack& other);
457 AudioTrack& operator = (const AudioTrack& other);
463 AudioTrackThread(AudioTrack& receiver, bool bCanCallJava = false);
473 friend class AudioTrack;
475 AudioTrack& mReceiver;
541 class TimedAudioTrack : public AudioTrack