/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 | 36 class AudioTrack : public RefBase class in namespace:android 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(); [all...] |
H A D | JetPlayer.h | 24 #include <media/AudioTrack.h> 91 sp<AudioTrack> mAudioTrack; // and we play it in this audio track
|
H A D | IAudioTrack.h | 38 DECLARE_META_INTERFACE(AudioTrack); 84 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 sp<AudioTrack> mpAudioTrack; // Pointer to audio track used for playback
|
H A D | SoundPool.h | 24 #include <media/AudioTrack.h> 154 sp<AudioTrack> mAudioTrack; 192 // called from AudioTrack thread
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 20 #define LOG_TAG "AudioTrack" 25 #include <media/AudioTrack.h> 38 status_t AudioTrack::getMinFrameCount( 84 AudioTrack::AudioTrack() function in class:android::AudioTrack 93 AudioTrack::AudioTrack( function in class:android::AudioTrack 119 AudioTrack::AudioTrack( function in class:android::AudioTrack 144 AudioTrack [all...] |
H A D | SoundPoolThread.h | 22 #include <media/AudioTrack.h>
|
H A D | SoundPool.cpp | 23 #include <media/AudioTrack.h> 548 sp<AudioTrack> oldTrack; 549 sp<AudioTrack> newTrack; 597 // The toggle is concatenated with the SoundChannel address and passed to AudioTrack 608 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), 611 newTrack = new AudioTrack(streamType, sampleRate, sample->format(), 618 ALOGE("Error creating AudioTrack"); 625 // From now on, AudioTrack callbacks received with previous toggle value will be ignored. 694 AudioTrack::Buffer* b = NULL; 695 if (event == AudioTrack [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_AudioTrack.cpp | 18 #define LOG_TAG "AudioTrack-JNI" 26 #include <media/AudioTrack.h> 38 static const char* const kClassPathName = "android/media/AudioTrack"; 43 jfieldID nativeTrackInJavaObj; // stores in Java the native AudioTrack object 44 jfieldID jniData; // stores in Java additional resources used by the native AudioTrack 55 // keep these values in sync with AudioTrack.java 82 mMemHeap = new MemoryHeapBase(sizeInBytes, 0, "AudioTrack Heap Base"); 135 case AudioTrack::EVENT_MARKER: { 149 case AudioTrack::EVENT_NEW_POS: { 173 static sp<AudioTrack> getAudioTrac [all...] |
/frameworks/base/media/tests/audiotests/ |
H A D | shared_mem_test.cpp | 23 #include <media/AudioTrack.h> 91 heap = new MemoryDealer(1024*1024, "AudioTrack Heap Base"); 98 sp<AudioTrack> track = new AudioTrack(AUDIO_STREAM_MUSIC,// stream type
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.h | 25 struct AudioTrack; 81 sp<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/base/media/java/android/media/ |
H A D | AudioTrack.java | 28 * The AudioTrack class manages and plays a single audio resource for Java applications. 30 * achieved by "pushing" the data to the AudioTrack object using one of the 33 * <p>An AudioTrack instance can operate under two modes: static or streaming.<br> 34 * In Streaming mode, the application writes a continuous stream of data to the AudioTrack, using 51 * <p>Upon creation, an AudioTrack object initializes its associated audio buffer. 52 * The size of this buffer, specified during the construction, determines how long an AudioTrack 54 * For an AudioTrack using the static mode, this size is the maximum size of the sound that can 59 * AudioTrack is not final and thus permits subclasses, but such use is not recommended. 61 public class AudioTrack class 76 /** indicates AudioTrack stat 262 public AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, method in class:AudioTrack 303 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/include/media/stagefright/ |
H A D | AudioPlayer.h | 29 class AudioTrack; 83 sp<AudioTrack> mAudioTrack;
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorAudioPlayer.h | 34 class AudioTrack; 94 sp<AudioTrack> mAudioTrack;
|
H A D | VideoEditorPlayer.cpp | 437 sp<AudioTrack> t; 439 t = new AudioTrack( 449 t = new AudioTrack( 545 if (event != AudioTrack::EVENT_MORE_DATA) { 550 AudioTrack::Buffer *buffer = (AudioTrack::Buffer *)info;
|
/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 | 23 #include <media/AudioTrack.h> 215 // playing to an AudioTrack, set up mask if necessary 222 mAudioTrack = new AudioTrack( 439 case AudioTrack::EVENT_MORE_DATA: 441 AudioTrack::Buffer *buffer = (AudioTrack::Buffer *)info; 447 case AudioTrack::EVENT_STREAM_END: 554 // AudioTrack that you haven't heard yet. 559 // submit to the AudioTrack by returning from this
|
/frameworks/base/media/java/android/media/audiofx/ |
H A D | LoudnessEnhancer.java | 19 import android.media.AudioTrack; 34 * To attach the LoudnessEnhancer to a particular AudioTrack or MediaPlayer, 35 * specify the audio session ID of this AudioTrack or MediaPlayer when constructing the effect 36 * (see {@link AudioTrack#getAudioSessionId()} and {@link MediaPlayer#getAudioSessionId()}). 70 * will be attached to the MediaPlayer or AudioTrack in the same audio session. 96 * will be attached to the MediaPlayer or AudioTrack in the same audio session.
|
/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 " +
|