Searched defs:AudioTrack (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/media/libmedia/
H A DAudioTrack.cpp19 #define LOG_TAG "AudioTrack"
27 #include <media/AudioTrack.h>
116 status_t AudioTrack::getMinFrameCount(
159 // AudioTrack.SAMPLE_RATE_HZ_MIN <= sampleRate <= AudioTrack.SAMPLE_RATE_HZ_MAX.
162 ALOGE("AudioTrack::getMinFrameCount failed for streamType %d, sampleRate %u",
173 AudioTrack::AudioTrack() function in class:android::AudioTrack
187 AudioTrack::AudioTrack( function in class:android::AudioTrack
218 AudioTrack::AudioTrack( function in class:android::AudioTrack
[all...]
/frameworks/av/include/media/
H A DAudioTrack.h38 class AudioTrack : public RefBase class in namespace:android
42 /* Events used by AudioTrack callback function (callback_t).
43 * Keep in sync with frameworks/base/media/java/android/media/AudioTrack.java NATIVE_EVENT_*.
114 * event: type of event notified (see enum AudioTrack::event_type).
117 * - EVENT_MORE_DATA: pointer to AudioTrack::Buffer struct. The callback must not write
133 * an AudioTrack object.
147 /* How data is transferred to AudioTrack
157 /* Constructs an uninitialized AudioTrack. No connection with
160 AudioTrack();
162 /* Creates an AudioTrack objec
[all...]
/frameworks/base/media/java/android/media/
H A DAudioTrack.java45 * The AudioTrack class manages and plays a single audio resource for Java applications.
47 * achieved by "pushing" the data to the AudioTrack object using one of the
51 * <p>An AudioTrack instance can operate under two modes: static or streaming.<br>
52 * In Streaming mode, the application writes a continuous stream of data to the AudioTrack, using
69 * <p>Upon creation, an AudioTrack object initializes its associated audio buffer.
70 * The size of this buffer, specified during the construction, determines how long an AudioTrack
72 * For an AudioTrack using the static mode, this size is the maximum size of the sound that can
77 * AudioTrack is not final and thus permits subclasses, but such use is not recommended.
79 public class AudioTrack extends PlayerBase class in inherits:PlayerBase,AudioRouting
94 /** Maximum value for AudioTrack channe
363 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, method in class:AudioTrack
418 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, method in class:AudioTrack
464 public AudioTrack(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, method in class:AudioTrack
546 /*package*/ AudioTrack(long nativeTrackInJavaObj) { method in class:AudioTrack
[all...]

Completed in 70 milliseconds