Searched refs:mAudioSink (Results 1 – 15 of 15) sorted by relevance
59 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 …]
96 sp<MediaPlayerBase::AudioSink> mAudioSink; variable
115 : 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 …]
772 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()
834 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()
141 sp<AudioSink> mAudioSink; member
151 sp<MediaPlayerBase::AudioSink> mAudioSink; member
173 sp<MediaPlayerBase::AudioSink> mAudioSink; member
759 mAudioSink.clear();770 private List<AudioDevicePort> mAudioSink = new ArrayList<>(); field in TvInputHardwareManager.TvInputHardwareImpl788 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 …]
54 freeDataLocatorFormat(&thiz->mAudioSink); in CMediaPlayer_Destroy()
319 virtual void setAudioSink(const sp<AudioSink>& audioSink) { mAudioSink = audioSink; } in setAudioSink()321 sp<AudioSink> mAudioSink;
342 DataLocatorFormat mAudioSink; member
1100 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()
309 const SLDataSink *pAudioSnk = &mp->mAudioSink.u.mSink; in android_Player_checkSourceSink()