/frameworks/base/core/java/android/speech/tts/ |
D | BlockingAudioTrack.java | 191 private static int writeToAudioTrack(AudioTrack audioTrack, byte[] bytes) { in writeToAudioTrack() argument 192 if (audioTrack.getPlayState() != AudioTrack.PLAYSTATE_PLAYING) { in writeToAudioTrack() 193 if (DBG) Log.d(TAG, "AudioTrack not playing, restarting : " + audioTrack.hashCode()); in writeToAudioTrack() 194 audioTrack.play(); in writeToAudioTrack() 201 int written = audioTrack.write(bytes, count, bytes.length); in writeToAudioTrack() 221 AudioTrack audioTrack = new AudioTrack(mAudioParams.mAudioAttributes, in createStreamingAudioTrack() local 225 if (audioTrack.getState() != AudioTrack.STATE_INITIALIZED) { in createStreamingAudioTrack() 227 audioTrack.release(); in createStreamingAudioTrack() 233 setupVolume(audioTrack, mAudioParams.mVolume, mAudioParams.mPan); in createStreamingAudioTrack() 234 return audioTrack; in createStreamingAudioTrack() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaSync.java | 333 public void setAudioTrack(@Nullable AudioTrack audioTrack) { in setAudioTrack() argument 334 native_setAudioTrack(audioTrack); in setAudioTrack() 335 mAudioTrack = audioTrack; in setAudioTrack() 336 if (audioTrack != null && mAudioThread == null) { in setAudioTrack() 341 private native final void native_setAudioTrack(@Nullable AudioTrack audioTrack); in native_setAudioTrack() argument
|
D | AudioTrack.java | 2548 public void onRoutingChanged(AudioTrack audioTrack); in onRoutingChanged() argument
|
/frameworks/wilhelm/src/ |
D | locks.c | 219 android::sp<android::AudioTrack> audioTrack; in object_unlock_exclusive_attributes_() local 230 audioTrack = ap->mAudioTrack; in object_unlock_exclusive_attributes_() 262 if (audioTrack != 0) { in object_unlock_exclusive_attributes_() 263 audioTrack->start(); in object_unlock_exclusive_attributes_() 264 audioTrack.clear(); in object_unlock_exclusive_attributes_()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | StreamingSource.cpp | 179 sp<AnotherPacketSource> audioTrack = getSource(true /*audio*/); in haveSufficientDataOnAllTracks() local 184 if (audioTrack != NULL in haveSufficientDataOnAllTracks() 185 && (durationUs = audioTrack->getBufferedDurationUs(&err)) in haveSufficientDataOnAllTracks()
|
/frameworks/base/media/jni/ |
D | android_media_MediaSync.cpp | 68 status_t JMediaSync::setAudioTrack(const sp<AudioTrack> &audioTrack) { in setAudioTrack() argument 69 return mSync->setAudioTrack(audioTrack); in setAudioTrack() 213 sp<AudioTrack> audioTrack; in android_media_MediaSync_native_setAudioTrack() local 215 audioTrack = android_media_AudioTrack_getAudioTrack(env, jaudioTrack); in android_media_MediaSync_native_setAudioTrack() 216 if (audioTrack == NULL) { in android_media_MediaSync_native_setAudioTrack() 222 status_t err = sync->setAudioTrack(audioTrack); in android_media_MediaSync_native_setAudioTrack()
|
D | android_media_MediaSync.h | 37 status_t setAudioTrack(const sp<AudioTrack> &audioTrack);
|
/frameworks/av/media/libstagefright/ |
D | MediaSync.cpp | 148 status_t MediaSync::setAudioTrack(const sp<AudioTrack> &audioTrack) { in setAudioTrack() argument 157 if (audioTrack == NULL && mSyncSettings.mSource == AVSYNC_SOURCE_AUDIO) { in setAudioTrack() 162 if (audioTrack != NULL) { in setAudioTrack() 165 && audioTrack->setPlaybackRate(mPlaybackSettings) != OK) { in setAudioTrack() 169 uint32_t nativeSampleRateInHz = audioTrack->getOriginalSampleRate(); in setAudioTrack() 174 mAudioTrack = audioTrack; in setAudioTrack()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmWriter.h | 124 static sp<WebmElement> audioTrack(const sp<MetaData>& md);
|
D | WebmWriter.cpp | 73 mStreams[kAudioIndex] = WebmStream(kAudioType, "Audio", &WebmWriter::audioTrack); in WebmWriter() 113 sp<WebmElement> WebmWriter::audioTrack(const sp<MetaData>& md) { in audioTrack() function in android::WebmWriter
|
/frameworks/av/include/media/ |
D | AudioTrack.h | 1095 DeathNotifier(AudioTrack* audioTrack) : mAudioTrack(audioTrack) { } in DeathNotifier() argument
|
/frameworks/av/include/media/stagefright/ |
D | MediaSync.h | 83 status_t setAudioTrack(const sp<AudioTrack> &audioTrack);
|
/frameworks/av/media/libmedia/ |
D | AudioTrack.cpp | 2704 sp<AudioTrack> audioTrack = mAudioTrack.promote(); in binderDied() local 2705 if (audioTrack != 0) { in binderDied() 2706 AutoMutex lock(audioTrack->mLock); in binderDied() 2707 audioTrack->mProxy->binderDied(); in binderDied()
|