Home
last modified time | relevance | path

Searched refs:audioTrack (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java192 private static int writeToAudioTrack(AudioTrack audioTrack, byte[] bytes) { in writeToAudioTrack() argument
193 if (audioTrack.getPlayState() != AudioTrack.PLAYSTATE_PLAYING) { in writeToAudioTrack()
194 if (DBG) Log.d(TAG, "AudioTrack not playing, restarting : " + audioTrack.hashCode()); in writeToAudioTrack()
195 audioTrack.play(); in writeToAudioTrack()
202 int written = audioTrack.write(bytes, count, bytes.length); in writeToAudioTrack()
222 AudioTrack audioTrack = new AudioTrack(mAudioParams.mAudioAttributes, in createStreamingAudioTrack() local
226 if (audioTrack.getState() != AudioTrack.STATE_INITIALIZED) { in createStreamingAudioTrack()
228 audioTrack.release(); in createStreamingAudioTrack()
234 setupVolume(audioTrack, mAudioParams.mVolume, mAudioParams.mPan); in createStreamingAudioTrack()
235 return audioTrack; in createStreamingAudioTrack()
[all …]
/frameworks/wilhelm/src/
Dlocks.c220 android::sp<android::AudioTrack> audioTrack; in object_unlock_exclusive_attributes_() local
231 audioTrack = ap->mAudioTrack; in object_unlock_exclusive_attributes_()
263 if (audioTrack != 0) { in object_unlock_exclusive_attributes_()
264 audioTrack->start(); in object_unlock_exclusive_attributes_()
265 audioTrack.clear(); in object_unlock_exclusive_attributes_()
/frameworks/av/media/libstagefright/webm/
DWebmWriter.h124 static sp<WebmElement> audioTrack(const sp<MetaData>& md);
DWebmWriter.cpp73 mStreams[kAudioIndex] = WebmStream(kAudioType, "Audio", &WebmWriter::audioTrack); in WebmWriter()
105 mStreams[kAudioIndex] = WebmStream(kAudioType, "Audio", &WebmWriter::audioTrack); in WebmWriter()
124 sp<WebmElement> WebmWriter::audioTrack(const sp<MetaData>& md) { in audioTrack() function in android::WebmWriter
/frameworks/av/include/media/
DAudioTrack.h788 DeathNotifier(AudioTrack* audioTrack) : mAudioTrack(audioTrack) { } in DeathNotifier() argument
/frameworks/av/media/libmedia/
DAudioTrack.cpp1446 sp<IAudioTrack> audioTrack = mAudioTrack; in allocateTimedBuffer() local
2208 sp<AudioTrack> audioTrack = mAudioTrack.promote(); in binderDied() local
2209 if (audioTrack != 0) { in binderDied()
2210 AutoMutex lock(audioTrack->mLock); in binderDied()
2211 audioTrack->mProxy->binderDied(); in binderDied()