Home
last modified time | relevance | path

Searched refs:mAudioSink (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/libstagefright/
DAudioPlayer.cpp58 mAudioSink(audioSink), in AudioPlayer()
164 if (mAudioSink.get() != NULL) { in start()
191 status_t err = mAudioSink->open( in start()
200 mLatencyUs = (int64_t)mAudioSink->latency() * 1000; in start()
201 mFrameSize = mAudioSink->frameSize(); in start()
208 sendMetaDataToHal(mAudioSink, format); in start()
211 err = mAudioSink->start(); in start()
275 if (mAudioSink.get() != NULL) { in pause()
276 mAudioSink->stop(); in pause()
284 if (mAudioSink.get() != NULL) { in pause()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp94 : mAudioSink(sink), in Renderer()
140 mAudioSink->stop(); in ~Renderer()
141 mAudioSink->flush(); in ~Renderer()
142 mAudioSink->close(); in ~Renderer()
154 mAudioSink.clear(); in ~Renderer()
202 if (mAudioSink != NULL && mAudioSink->ready()) { in onConfigPlayback()
203 status_t err = mAudioSink->setPlaybackRate(rate); in onConfigPlayback()
228 if (mAudioSink != NULL && mAudioSink->ready()) { in onGetPlaybackSettings()
229 status_t err = mAudioSink->getPlaybackRate(rate); in onGetPlaybackSettings()
350 status_t res = mAudioSink->getTimestamp(ts); in getCurrentPosition()
[all …]
DNuPlayerDriver.cpp564 mAudioSink = audioSink; in setAudioSink()
726 if (mAudioSink != NULL) { in notifyListener_l()
727 streamType = mAudioSink->getAudioStreamType(); in notifyListener_l()
736 if (mAudioSink != NULL) { in notifyListener_l()
739 mAudioSink->start(); in notifyListener_l()
DNuPlayer.cpp710 mAudioSink = static_cast<MediaPlayerBase::AudioSink *>(obj.get()); in onMessageReceived()
897 if (mAudioSink != NULL && mAudioDecoder == NULL) { in onMessageReceived()
1308 if (mAudioSink != NULL) { in onInstantiateSecureDecoders()
1353 if (mAudioSink != NULL) { in onStart()
1354 streamType = mAudioSink->getAudioStreamType(); in onStart()
1369 mRenderer = new Renderer(mAudioSink, notify, flags); in onStart()
1504 sendMetaDataToHal(mAudioSink, audioMeta); in tryOpenAudioSinkForOffload()
1551 if (mSource == NULL || mAudioSink == NULL) { in determineAudioModeChange()
1563 audio_stream_type_t streamType = mAudioSink->getAudioStreamType(); in determineAudioModeChange()
DNuPlayerDriver.h118 sp<AudioSink> mAudioSink; member
DNuPlayerRenderer.h137 sp<MediaPlayerBase::AudioSink> mAudioSink; member
DNuPlayer.h147 sp<MediaPlayerBase::AudioSink> mAudioSink; member
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java744 mAudioSink.clear();
755 private List<AudioDevicePort> mAudioSink = new ArrayList<>(); field in TvInputHardwareManager.TvInputHardwareImpl
773 findAudioSinkFromAudioPolicy(mAudioSink); in TvInputHardwareImpl()
874 if (mAudioSource == null || mAudioSink.isEmpty() || mActiveConfig == null) { in updateAudioConfigLocked()
917 for (AudioDevicePort audioSink : mAudioSink) { in updateAudioConfigLocked()
1070 List<AudioDevicePort> previousSink = mAudioSink; in updateAudioSinkLocked()
1071 mAudioSink = new ArrayList<>(); in updateAudioSinkLocked()
1073 findAudioSinkFromAudioPolicy(mAudioSink); in updateAudioSinkLocked()
1078 mAudioSink.add(audioSink); in updateAudioSinkLocked()
1083 if (mAudioSink.size() != previousSink.size()) { in updateAudioSinkLocked()
[all …]
/frameworks/wilhelm/src/objects/
DCMediaPlayer.c54 freeDataLocatorFormat(&thiz->mAudioSink); in CMediaPlayer_Destroy()
/frameworks/av/include/media/
DMediaPlayerInterface.h286 virtual void setAudioSink(const sp<AudioSink>& audioSink) { mAudioSink = audioSink; } in setAudioSink()
288 sp<AudioSink> mAudioSink;
/frameworks/av/include/media/stagefright/
DAudioPlayer.h96 sp<MediaPlayerBase::AudioSink> mAudioSink; variable
/frameworks/wilhelm/src/
Dclasses.h336 DataLocatorFormat mAudioSink; member
/frameworks/wilhelm/src/itf/
DIEngine.c1099 thiz->mAudioSink.mLocator.mLocatorType = XA_DATALOCATOR_NULL; in IEngine_CreateMediaPlayer()
1100 thiz->mAudioSink.mFormat.mFormatType = XA_DATAFORMAT_NULL; in IEngine_CreateMediaPlayer()
1139 &thiz->mAudioSink, DATALOCATOR_MASK_OUTPUTMIX, DATAFORMAT_MASK_NULL); in IEngine_CreateMediaPlayer()
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp309 const SLDataSink *pAudioSnk = &mp->mAudioSink.u.mSink; in android_Player_checkSourceSink()