Home
last modified time | relevance | path

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

/frameworks/av/cmds/stagefright/
DAudioPlayer.cpp59 mAudioSink(audioSink), in AudioPlayer()
172 if (mAudioSink.get() != NULL) { in start()
199 status_t err = mAudioSink->open( in start()
208 mLatencyUs = (int64_t)mAudioSink->latency() * 1000; in start()
209 mFrameSize = mAudioSink->frameSize(); in start()
216 sendMetaDataToHal(mAudioSink, format); in start()
219 err = mAudioSink->start(); in start()
283 if (mAudioSink.get() != NULL) { in pause()
284 mAudioSink->stop(); in pause()
292 if (mAudioSink.get() != NULL) { in pause()
[all …]
DAudioPlayer.h96 sp<MediaPlayerBase::AudioSink> mAudioSink; variable
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp115 : mAudioSink(sink), in Renderer()
163 mAudioSink->stop(); in ~Renderer()
164 mAudioSink->flush(); in ~Renderer()
165 mAudioSink->close(); in ~Renderer()
177 mAudioSink.clear(); in ~Renderer()
225 if (mAudioSink != NULL && mAudioSink->ready()) { in onConfigPlayback()
226 status_t err = mAudioSink->setPlaybackRate(rate); in onConfigPlayback()
251 if (mAudioSink != NULL && mAudioSink->ready()) { in onGetPlaybackSettings()
252 status_t err = mAudioSink->getPlaybackRate(rate); in onGetPlaybackSettings()
374 status_t res = mAudioSink->getTimestamp(ts); in getCurrentPosition()
[all …]
DNuPlayerDriver.cpp772 mAudioSink = audioSink; in setAudioSink()
977 if (mAudioSink != NULL) { in notifyListener_l()
978 streamType = mAudioSink->getAudioStreamType(); in notifyListener_l()
987 if (mAudioSink != NULL) { in notifyListener_l()
990 mAudioSink->start(); in notifyListener_l()
DNuPlayer.cpp834 mAudioSink = static_cast<MediaPlayerBase::AudioSink *>(obj.get()); in onMessageReceived()
1021 if (mAudioSink != NULL && mAudioDecoder == NULL) { in onMessageReceived()
1213 || mAudioSink == NULL || mAudioDecoder == NULL) { in onMessageReceived()
1514 if (mAudioSink != NULL) { in onInstantiateSecureDecoders()
1564 if (mAudioSink != NULL) { in onStart()
1565 streamType = mAudioSink->getAudioStreamType(); in onStart()
1585 mRenderer = new Renderer(mAudioSink, mMediaClock, notify, flags); in onStart()
1796 sendMetaDataToHal(mAudioSink, audioMeta); in tryOpenAudioSinkForOffload()
1859 if (mSource == NULL || mAudioSink == NULL) { in determineAudioModeChange()
1871 audio_stream_type_t streamType = mAudioSink->getAudioStreamType(); in determineAudioModeChange()
DNuPlayerDriver.h141 sp<AudioSink> mAudioSink; member
DNuPlayerRenderer.h151 sp<MediaPlayerBase::AudioSink> mAudioSink; member
DNuPlayer.h173 sp<MediaPlayerBase::AudioSink> mAudioSink; member
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java759 mAudioSink.clear();
770 private List<AudioDevicePort> mAudioSink = new ArrayList<>(); field in TvInputHardwareManager.TvInputHardwareImpl
788 findAudioSinkFromAudioPolicy(mAudioSink); in TvInputHardwareImpl()
889 if (mAudioSource == null || mAudioSink.isEmpty() || mActiveConfig == null) { in updateAudioConfigLocked()
932 for (AudioDevicePort audioSink : mAudioSink) { in updateAudioConfigLocked()
1071 List<AudioDevicePort> previousSink = mAudioSink; in updateAudioSinkLocked()
1072 mAudioSink = new ArrayList<>(); in updateAudioSinkLocked()
1074 findAudioSinkFromAudioPolicy(mAudioSink); in updateAudioSinkLocked()
1079 mAudioSink.add(audioSink); in updateAudioSinkLocked()
1084 if (mAudioSink.size() != previousSink.size()) { in updateAudioSinkLocked()
[all …]
/frameworks/wilhelm/src/objects/
DCMediaPlayer.cpp54 freeDataLocatorFormat(&thiz->mAudioSink); in CMediaPlayer_Destroy()
/frameworks/av/include/media/
DMediaPlayerInterface.h319 virtual void setAudioSink(const sp<AudioSink>& audioSink) { mAudioSink = audioSink; } in setAudioSink()
321 sp<AudioSink> mAudioSink;
/frameworks/av/media/libmediaplayerservice/include/
DMediaPlayerInterface.h319 virtual void setAudioSink(const sp<AudioSink>& audioSink) { mAudioSink = audioSink; } in setAudioSink()
321 sp<AudioSink> mAudioSink;
/frameworks/wilhelm/src/
Dclasses.h342 DataLocatorFormat mAudioSink; member
/frameworks/wilhelm/src/itf/
DIEngine.cpp1100 thiz->mAudioSink.mLocator.mLocatorType = XA_DATALOCATOR_NULL; in IEngine_CreateMediaPlayer()
1101 thiz->mAudioSink.mFormat.mFormatType = XA_DATAFORMAT_NULL; in IEngine_CreateMediaPlayer()
1140 &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()