Lines Matching refs: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,
204 AudioTrack( audio_stream_type_t streamType,
218 /* Terminates the AudioTrack and unregisters it from AudioFlinger.
219 * Also destroys all resources associated with the AudioTrack.
222 virtual ~AudioTrack();
225 /* Initialize an AudioTrack that was created using the AudioTrack() constructor.
226 * Don't call set() more than once, or after the AudioTrack() constructors that take parameters.
229 * - INVALID_OPERATION: AudioTrack is already initialized
232 * If status is not equal to NO_ERROR, don't call any other APIs on this AudioTrack.
236 * Parameters not listed in the AudioTrack constructors above:
256 /* Result of constructing the AudioTrack. This must be checked for successful initialization
257 * before using any AudioTrack API (except for set()), because using
258 * an uninitialized AudioTrack produces undefined results.
264 * This includes the latency due to AudioTrack buffer size, AudioMixer (if any)
365 * If the AudioTrack has been opened with no callback function associated, the operation will
375 * - INVALID_OPERATION: the AudioTrack has no callback installed.
384 * If the AudioTrack has been opened with no callback function associated, the operation will
394 * - INVALID_OPERATION: the AudioTrack has no callback installed.
410 * - INVALID_OPERATION: the AudioTrack is not stopped or paused, or is streaming mode.
411 * - BAD_VALUE: The specified position is beyond the number of frames present in AudioTrack
436 /* Forces AudioTrack buffer full condition. When playing a static buffer, this method avoids
438 * This method must be called with the AudioTrack in paused or stopped state.
443 * - INVALID_OPERATION: the AudioTrack is not stopped or paused, or is streaming mode.
447 /* Returns a handle on the audio output used by this AudioTrack.
463 * AudioTrack session ID.
549 * INVALID_OPERATION AudioTrack is configured for static buffer or streaming mode
552 * AudioTrack was stopped during the write
589 AudioTrack(const AudioTrack& other);
590 AudioTrack& operator = (const AudioTrack& other);
596 AudioTrackThread(AudioTrack& receiver, bool bCanCallJava = false);
609 friend class AudioTrack;
611 AudioTrack& mReceiver;
748 DeathNotifier(AudioTrack* audioTrack) : mAudioTrack(audioTrack) { }
752 const wp<AudioTrack> mAudioTrack;
761 class TimedAudioTrack : public AudioTrack