/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaAudioTrackTest.java | 24 import android.media.AudioTrack; 32 * Junit / Instrumentation test case for the media AudioTrack api 87 AudioTrack track = null; 89 track = new AudioTrack( 94 AudioTrack.getMinBufferSize(testSampleRates[i], 115 +"AudioTrack(streamType="+_inTest_streamType 119 +", bufferSizeInBytes=" + AudioTrack.getMinBufferSize(testSampleRates[i], 134 // AudioTrack constructor and AudioTrack.getMinBufferSize(...) for 16bit PCM 137 //Test case 1: constructor for streaming AudioTrack, mon [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | BlockingAudioTrack.java | 6 import android.media.AudioTrack; 10 * Exposes parts of the {@link AudioTrack} API by delegating calls to an 11 * underlying {@link AudioTrack}. Additionally, provides methods like 22 * The minimum increment of time to wait for an AudioTrack to finish 28 * The maximum increment of time to sleep while waiting for an AudioTrack 41 * Minimum size of the buffer of the underlying {@link android.media.AudioTrack} 58 * {@link AudioTrack#stop()} to send pending buffers to the mixer, and slightly 73 private AudioTrack mAudioTrack; 96 AudioTrack track = createStreamingAudioTrack(); 118 AudioTrack trac [all...] |
/frameworks/av/include/media/ |
H A D | AudioTrack.h | 42 class AudioTrack : virtual public RefBase class in namespace:android 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( in [all...] |
H A D | JetPlayer.h | 24 #include <media/AudioTrack.h> 91 AudioTrack* mAudioTrack; // and we play it in this audio track
|
H A D | IAudioTrack.h | 36 DECLARE_META_INTERFACE(AudioTrack); 87 or Tungsten time. The values for target are defined in AudioTrack.h */
|
H A D | ToneGenerator.h | 24 #include <media/AudioTrack.h> 173 TONE_STOPPED, // ToneGenerator is stopped: the AudioTrack will be stopped 267 AudioTrack *mpAudioTrack; // Pointer to audio track used for playback
|
H A D | SoundPool.h | 24 #include <media/AudioTrack.h> 149 AudioTrack* mAudioTrack; 187 // called from AudioTrack thread
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 20 #define LOG_TAG "AudioTrack" 32 #include <media/AudioTrack.h> 52 status_t AudioTrack::getMinFrameCount( 94 AudioTrack::AudioTrack() function in class:android::AudioTrack 102 AudioTrack::AudioTrack( function in class:android::AudioTrack 124 AudioTrack::AudioTrack( function in class:android::AudioTrack 145 AudioTrack function in class:android::AudioTrack [all...] |
H A D | SoundPoolThread.h | 22 #include <media/AudioTrack.h>
|
H A D | Android.mk | 15 AudioTrack.cpp \
|
H A D | SoundPool.cpp | 26 #include <media/AudioTrack.h> 550 AudioTrack* oldTrack; 551 AudioTrack* newTrack; 599 // The toggle is concatenated with the SoundChannel address and passed to AudioTrack 610 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), 613 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), 620 ALOGE("Error creating AudioTrack"); 627 // From now on, AudioTrack callbacks received with previous toggle value will be ignored. 698 AudioTrack::Buffer* b = NULL; 699 if (event == AudioTrack [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_AudioTrack.cpp | 18 #define LOG_TAG "AudioTrack-JNI" 31 #include <media/AudioTrack.h> 45 static const char* const kClassPathName = "android/media/AudioTrack"; 54 jfieldID nativeTrackInJavaObj; // stores in Java the native AudioTrack object 55 jfieldID jniData; // stores in Java additional resources used by the native AudioTrack 86 mMemHeap = new MemoryHeapBase(sizeInBytes, 0, "AudioTrack Heap Base"); 138 if (event == AudioTrack::EVENT_MORE_DATA) { 140 AudioTrack::Buffer* pBuff = (AudioTrack::Buffer*)info; 143 } else if (event == AudioTrack [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioTrack.java | 31 * The AudioTrack class manages and plays a single audio resource for Java applications. 33 * achieved by "pushing" the data to the AudioTrack object using one of the 36 * <p>An AudioTrack instance can operate under two modes: static or streaming.<br> 37 * In Streaming mode, the application writes a continuous stream of data to the AudioTrack, using 54 * <p>Upon creation, an AudioTrack object initializes its associated audio buffer. 55 * The size of this buffer, specified during the construction, determines how long an AudioTrack 57 * For an AudioTrack using the static mode, this size is the maximum size of the sound that can 62 public class AudioTrack class 72 /** indicates AudioTrack state is stopped */ 74 /** indicates AudioTrack stat 264 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, method in class:AudioTrack 305 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, method in class:AudioTrack [all...] |
H A D | JetPlayer.java | 109 * Looper associated with the thread that creates the AudioTrack instance 164 int buffSizeInBytes = AudioTrack.getMinBufferSize(JET_OUTPUT_RATE, 167 if ((buffSizeInBytes != AudioTrack.ERROR) 168 && (buffSizeInBytes != AudioTrack.ERROR_BAD_VALUE)) { 481 // no given handler, use the looper the AudioTrack was created in
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.h | 25 struct AudioTrack; 81 sp<AudioTrack> mAudioTrack;
|
/frameworks/av/include/media/stagefright/ |
H A D | AudioPlayer.h | 29 class AudioTrack; 73 AudioTrack *mAudioTrack;
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | AudioTrack.java | 31 public class AudioTrack { class 74 private AudioTrack() throws IOException { method in class:AudioTrack 90 public AudioTrack(VideoEditor editor, String audioTrackId, String filename) throws IOException { method in class:AudioTrack 123 AudioTrack(VideoEditor editor, String audioTrackId, String filename, method in class:AudioTrack 645 if (!(object instanceof AudioTrack)) { 648 return mUniqueId.equals(((AudioTrack)object).mUniqueId);
|
H A D | VideoEditor.java | 153 * processing a media object such as a Transition, AudioTrack & Kenburns 157 * or AudioTrack 596 * Add the specified AudioTrack to the storyboard. Note: Specific 600 * @param audioTrack The AudioTrack to add 607 public void addAudioTrack(AudioTrack audioTrack); 626 public void insertAudioTrack(AudioTrack audioTrack, String afterAudioTrackId); 629 * Move an AudioTrack after the AudioTrack with the specified id. 631 * @param audioTrackId The id of the AudioTrack to move 632 * @param afterAudioTrackId Move the AudioTrack identifie [all...] |
H A D | VideoEditorImpl.java | 130 private final List<AudioTrack> mAudioTracks = new ArrayList<AudioTrack>(); 188 public synchronized void addAudioTrack(AudioTrack audioTrack) { 200 * Add the audio track to AudioTrack list 510 public List<AudioTrack> getAllAudioTracks() { 538 public AudioTrack getAudioTrack(String audioTrackId) { 539 for (AudioTrack at : mAudioTracks) { 600 public synchronized void insertAudioTrack(AudioTrack audioTrack, 612 AudioTrack at = mAudioTracks.get(i); 620 throw new IllegalArgumentException("AudioTrack no [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorAudioPlayer.h | 34 class AudioTrack; 94 AudioTrack *mAudioTrack;
|
H A D | VideoEditorPlayer.cpp | 437 AudioTrack *t; 439 t = new AudioTrack( 449 t = new AudioTrack( 543 if (event != AudioTrack::EVENT_MORE_DATA) { 548 AudioTrack::Buffer *buffer = (AudioTrack::Buffer *)info;
|
H A D | VideoEditorPlayer.h | 21 #include <media/AudioTrack.h> 74 AudioTrack* mTrack;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | VideoEditorStressTest.java | 28 import android.media.videoeditor.AudioTrack; 718 final AudioTrack mediaItem3 = new AudioTrack(mVideoEditor, 1055 final AudioTrack audioTrack1 = new AudioTrack(mVideoEditor, 1104 final AudioTrack audioTrack1 = new AudioTrack(mVideoEditor, 1117 final AudioTrack audioTrack2 = new AudioTrack(mVideoEditor, 1197 final AudioTrack audioTrack [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AudioPlayer.cpp | 22 #include <media/AudioTrack.h> 157 // playing to an AudioTrack, set up mask if necessary 164 mAudioTrack = new AudioTrack( 317 if (event != AudioTrack::EVENT_MORE_DATA) { 321 AudioTrack::Buffer *buffer = (AudioTrack::Buffer *)info; 415 // AudioTrack that you haven't heard yet. 420 // submit to the AudioTrack by returning from this
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | VideoEditorHelper.java | 29 import android.media.videoeditor.AudioTrack; 288 *This Method creates object of Type AudioTrack 292 public AudioTrack createAudio(VideoEditor videoEditor, String audioTrackId, 294 AudioTrack audio = null; 296 audio = new AudioTrack(videoEditor, audioTrackId, filename); 297 assertNotNull("Cant not create an object of an AudioTrack " + 300 assertTrue("Can not create object of an AudioTrack " + 303 assertTrue("Can not create object of an AudioTrack " +
|