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
116 : mAudioSink(sink), in Renderer()165 mAudioSink->stop(); in ~Renderer()166 mAudioSink->flush(); in ~Renderer()167 mAudioSink->close(); in ~Renderer()179 mAudioSink.clear(); in ~Renderer()227 if (mAudioSink != NULL && mAudioSink->ready()) { in onConfigPlayback()228 status_t err = mAudioSink->setPlaybackRate(rate); in onConfigPlayback()253 if (mAudioSink != NULL && mAudioSink->ready()) { in onGetPlaybackSettings()254 status_t err = mAudioSink->getPlaybackRate(rate); in onGetPlaybackSettings()394 status_t res = mAudioSink->getTimestamp(ts); in getCurrentPosition()[all …]
796 mAudioSink = audioSink; in setAudioSink()1006 if (mAudioSink != NULL) { in notifyListener_l()1007 streamType = mAudioSink->getAudioStreamType(); in notifyListener_l()1016 if (mAudioSink != NULL) { in notifyListener_l()1019 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
153 sp<MediaPlayerBase::AudioSink> mAudioSink; member
172 sp<MediaPlayerBase::AudioSink> mAudioSink; member
782 mAudioSink.clear();793 private List<AudioDevicePort> mAudioSink = new ArrayList<>(); field in TvInputHardwareManager.TvInputHardwareImpl811 findAudioSinkFromAudioPolicy(mAudioSink); in TvInputHardwareImpl()912 if (mAudioSource == null || mAudioSink.isEmpty() || mActiveConfig == null) { in updateAudioConfigLocked()955 for (AudioDevicePort audioSink : mAudioSink) { in updateAudioConfigLocked()1094 List<AudioDevicePort> previousSink = mAudioSink; in updateAudioSinkLocked()1095 mAudioSink = new ArrayList<>(); in updateAudioSinkLocked()1097 findAudioSinkFromAudioPolicy(mAudioSink); in updateAudioSinkLocked()1102 mAudioSink.add(audioSink); in updateAudioSinkLocked()1107 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()