Lines Matching defs:AudioTrack

41 class AudioTrack
50 /* Events used by AudioTrack callback function (audio_track_cblk_t).
89 * event: type of event notified (see enum AudioTrack::event_type).
92 * - EVENT_MORE_DATA: pointer to AudioTrack::Buffer struct. The callback must not write
105 * an AudioTrack object.
115 /* Constructs an uninitialized AudioTrack. No connection with
118 AudioTrack();
143 AudioTrack( int streamType,
155 * The PCM data to be rendered by AudioTrack is passed in a shared memory buffer
157 * PCM data must be present into memory before the AudioTrack is started.
163 AudioTrack( int streamType,
174 /* Terminates the AudioTrack and unregisters it from AudioFlinger.
175 * Also destroys all resources assotiated with the AudioTrack.
177 ~AudioTrack();
180 /* Initialize an uninitialized AudioTrack.
183 * - INVALID_OPERATION: AudioTrack is already intitialized
201 /* Result of constructing the AudioTrack. This must be checked
202 * before using any AudioTrack API (except for set()), using
203 * an uninitialized AudioTrack produces undefined results.
209 * This includes the latency due to AudioTrack buffer size, AudioMixer (if any)
275 * loopStart: loop start expressed as the number of PCM frames played since AudioTrack start.
276 * loopEnd: loop end expressed as the number of PCM frames played since AudioTrack start.
290 * If the AudioTrack has been opened with no callback function associated, the operation will fail.
298 * - INVALID_OPERATION: the AudioTrack has no callback installed.
308 * If the AudioTrack has been opened with no callback function associated, the operation will fail.
316 * - INVALID_OPERATION: the AudioTrack has no callback installed.
322 /* Sets playback head position within AudioTrack buffer. The new position is specified
324 * This method must be called with the AudioTrack in paused or stopped state.
325 * Note that the actual position set is <position> modulo the AudioTrack buffer size in frames.
333 * position: New playback head position within AudioTrack buffer.
337 * - INVALID_OPERATION: the AudioTrack is not stopped.
338 * - BAD_VALUE: The specified position is beyond the number of frames present in AudioTrack buffer
343 /* Forces AudioTrack buffer full condition. When playing a static buffer, this method avoids
345 * This method must be called with the AudioTrack in paused or stopped state.
349 * - INVALID_OPERATION: the AudioTrack is not stopped.
353 /* returns a handle on the audio output used by this AudioTrack.
369 * AudioTrack ID.
421 AudioTrack(const AudioTrack& other);
422 AudioTrack& operator = (const AudioTrack& other);
428 AudioTrackThread(AudioTrack& receiver, bool bCanCallJava = false);
430 friend class AudioTrack;
434 AudioTrack& mReceiver;