Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DAudioPlayer.cpp58 mAudioSink(audioSink), in AudioPlayer()
171 if (mAudioSink.get() != NULL) { in start()
198 status_t err = mAudioSink->open( in start()
207 mLatencyUs = (int64_t)mAudioSink->latency() * 1000; in start()
208 mFrameSize = mAudioSink->frameSize(); in start()
215 sendMetaDataToHal(mAudioSink, format); in start()
218 err = mAudioSink->start(); in start()
282 if (mAudioSink.get() != NULL) { in pause()
283 mAudioSink->stop(); in pause()
291 if (mAudioSink.get() != NULL) { in pause()
[all …]
/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.cpp793 mAudioSink = audioSink; in setAudioSink()
1003 if (mAudioSink != NULL) { in notifyListener_l()
1004 streamType = mAudioSink->getAudioStreamType(); in notifyListener_l()
1013 if (mAudioSink != NULL) { in notifyListener_l()
1016 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()
1857 if (mSource == NULL || mAudioSink == NULL) { in determineAudioModeChange()
1869 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/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Renderer.cpp115 : mAudioSink(sink), in Renderer()
162 mAudioSink->stop(); in ~Renderer()
163 mAudioSink->flush(); in ~Renderer()
164 mAudioSink->close(); in ~Renderer()
176 mAudioSink.clear(); in ~Renderer()
218 if (mAudioSink != NULL && mAudioSink->ready()) { in onConfigPlayback()
219 status_t err = mAudioSink->setPlaybackRate(rate); in onConfigPlayback()
244 if (mAudioSink != NULL && mAudioSink->ready()) { in onGetPlaybackSettings()
245 status_t err = mAudioSink->getPlaybackRate(rate); in onGetPlaybackSettings()
365 status_t res = mAudioSink->getTimestamp(ts); in getCurrentPosition()
[all …]
DNuPlayer2Driver.cpp650 mAudioSink = audioSink; in setAudioSink()
836 if (mAudioSink != NULL) { in notifyListener_l()
837 streamType = mAudioSink->getAudioStreamType(); in notifyListener_l()
846 if (mAudioSink != NULL) { in notifyListener_l()
849 mAudioSink->start(); in notifyListener_l()
DNuPlayer2Driver.h133 sp<AudioSink> mAudioSink; member
DNuPlayer2.cpp1014 mAudioSink = static_cast<MediaPlayer2Interface::AudioSink *>(obj.get()); in onMessageReceived()
1178 if (mAudioSink != NULL && mAudioDecoder == NULL) { in onMessageReceived()
1379 || mAudioSink == NULL || mAudioDecoder == NULL) { in onMessageReceived()
1723 if (mAudioSink != NULL) { in onStart()
1724 streamType = mAudioSink->getAudioStreamType(); in onStart()
1745 mRenderer = new Renderer(mAudioSink, mMediaClock, notify, mContext, flags); in onStart()
1960 sendMetaDataToHal(mAudioSink, audioMeta); in tryOpenAudioSinkForOffload()
2019 if (mCurrentSourceInfo.mSource == NULL || mAudioSink == NULL) { in determineAudioModeChange()
2031 audio_stream_type_t streamType = mAudioSink->getAudioStreamType(); in determineAudioModeChange()
DNuPlayer2Renderer.h153 sp<MediaPlayer2Interface::AudioSink> mAudioSink; member
DNuPlayer2.h196 sp<MediaPlayer2Interface::AudioSink> mAudioSink; member
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java755 mAudioSink.clear();
766 private List<AudioDevicePort> mAudioSink = new ArrayList<>(); field in TvInputHardwareManager.TvInputHardwareImpl
784 findAudioSinkFromAudioPolicy(mAudioSink); in TvInputHardwareImpl()
885 if (mAudioSource == null || mAudioSink.isEmpty() || mActiveConfig == null) { in updateAudioConfigLocked()
928 for (AudioDevicePort audioSink : mAudioSink) { in updateAudioConfigLocked()
1067 List<AudioDevicePort> previousSink = mAudioSink; in updateAudioSinkLocked()
1068 mAudioSink = new ArrayList<>(); in updateAudioSinkLocked()
1070 findAudioSinkFromAudioPolicy(mAudioSink); in updateAudioSinkLocked()
1075 mAudioSink.add(audioSink); in updateAudioSinkLocked()
1080 if (mAudioSink.size() != previousSink.size()) { in updateAudioSinkLocked()
[all …]
/frameworks/wilhelm/src/objects/
DCMediaPlayer.cpp54 freeDataLocatorFormat(&thiz->mAudioSink); in CMediaPlayer_Destroy()
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/
DMediaPlayer2Interface.h156 mAudioSink = audioSink; in setAudioSink()
261 sp<AudioSink> mAudioSink;
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioPlayer.h96 sp<MediaPlayerBase::AudioSink> mAudioSink; variable
/frameworks/av/include/media/
DMediaPlayerInterface.h320 virtual void setAudioSink(const sp<AudioSink>& audioSink) { mAudioSink = audioSink; } in setAudioSink()
322 sp<AudioSink> mAudioSink;
/frameworks/av/media/libmediaplayerservice/include/
DMediaPlayerInterface.h320 virtual void setAudioSink(const sp<AudioSink>& audioSink) { mAudioSink = audioSink; } in setAudioSink()
322 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()