Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DAudioPlayer.cpp60 mAudioSink(audioSink), in AudioPlayer()
156 if (mAudioSink.get() != NULL) { in start()
183 status_t err = mAudioSink->open( in start()
192 mLatencyUs = (int64_t)mAudioSink->latency() * 1000; in start()
193 mFrameSize = mAudioSink->frameSize(); in start()
200 sendMetaDataToHal(mAudioSink, format); in start()
203 err = mAudioSink->start(); in start()
268 if (mAudioSink.get() != NULL) { in pause()
269 mAudioSink->stop(); in pause()
277 if (mAudioSink.get() != NULL) { in pause()
[all …]
DAwesomePlayer.cpp883 && (mAudioSink == NULL || mAudioSink->realtime()))) { in onStreamDone()
1064 mAudioPlayer = new AudioPlayer(mAudioSink, flags, this); in createAudioPlayer_l()
1387 mAudioSink = audioSink; in setAudioSink()
1530 if (mAudioSink != NULL) { in initAudioDecoder()
1531 streamType = mAudioSink->getAudioStreamType(); in initAudioDecoder()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp60 : mAudioSink(sink), in Renderer()
95 mAudioSink->stop(); in ~Renderer()
96 mAudioSink->flush(); in ~Renderer()
97 mAudioSink->close(); in ~Renderer()
326 mAudioSink->stop(); in onMessageReceived()
342 CHECK_EQ(mAudioSink->getPosition(&numFramesPlayed), in onMessageReceived()
351 mAudioSink->msecsPerFrame() in onMessageReceived()
598 if (mAudioSink->getPosition(&numFramesPlayed) != OK) { in onDrainAudioQueue()
603 mAudioSink->frameCount() - (mNumFramesWritten - numFramesPlayed); in onDrainAudioQueue()
606 if (numFramesAvailableToWrite == mAudioSink->frameCount()) { in onDrainAudioQueue()
[all …]
DNuPlayerDriver.cpp512 mAudioSink = audioSink; in setAudioSink()
634 && (mAudioSink == NULL || mAudioSink->realtime()))) { in notifyListener_l()
DNuPlayerDriver.h112 sp<AudioSink> mAudioSink; member
DNuPlayer.cpp570 mAudioSink = static_cast<MediaPlayerBase::AudioSink *>(obj.get()); in onMessageReceived()
594 if (mAudioSink != NULL) { in onMessageReceived()
609 if (mAudioSink != NULL) { in onMessageReceived()
610 streamType = mAudioSink->getAudioStreamType(); in onMessageReceived()
625 mRenderer = new Renderer(mAudioSink, notify, flags); in onMessageReceived()
666 if (mAudioSink != NULL) { in onMessageReceived()
699 if ((mAudioDecoder == NULL && mAudioSink != NULL) in onMessageReceived()
1137 sendMetaDataToHal(mAudioSink, audioMeta); in openAudioSink()
DNuPlayerRenderer.h130 sp<MediaPlayerBase::AudioSink> mAudioSink; member
DNuPlayer.h131 sp<MediaPlayerBase::AudioSink> mAudioSink; member
/frameworks/av/media/libmediaplayerservice/
DMidiFile.cpp432 if (mAudioSink->open(pLibConfig->sampleRate, pLibConfig->numChannels, in createOutputTrack()
498 if (!mAudioSink->ready()) { in render()
506 if ((temp = mAudioSink->write(mAudioBuffer, num_output)) < 0) { in render()
514 mAudioSink->start(); in render()
541 mAudioSink->stop(); in render()
548 mAudioSink.clear(); in render()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java577 mAudioSink = null;
585 private AudioDevicePort mAudioSink; field in TvInputHardwareManager.TvInputHardwareImpl
601 mAudioSink = findAudioSinkFromAudioPolicy(); in TvInputHardwareImpl()
695 if (mAudioSource == null || mAudioSink == null || mActiveConfig == null) { in updateAudioConfigLocked()
736 AudioPortConfig sinkConfig = mAudioSink.activeConfig(); in updateAudioConfigLocked()
835 AudioDevicePort previousSink = mAudioSink; in updateAudioSinkLocked()
837 mAudioSink = findAudioSinkFromAudioPolicy(); in updateAudioSinkLocked()
842 mAudioSink = audioSink; in updateAudioSinkLocked()
845 return mAudioSink == null ? (previousSink != null) : !mAudioSink.equals(previousSink); in updateAudioSinkLocked()
/frameworks/wilhelm/src/objects/
DCMediaPlayer.c54 freeDataLocatorFormat(&thiz->mAudioSink); in CMediaPlayer_Destroy()
/frameworks/av/include/media/
DMediaPlayerInterface.h233 virtual void setAudioSink(const sp<AudioSink>& audioSink) { mAudioSink = audioSink; } in setAudioSink()
235 sp<AudioSink> mAudioSink;
/frameworks/av/include/media/stagefright/
DAudioPlayer.h109 sp<MediaPlayerBase::AudioSink> mAudioSink; variable
/frameworks/wilhelm/src/
Dclasses.h333 DataLocatorFormat mAudioSink; member
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp309 const SLDataSink *pAudioSnk = &mp->mAudioSink.u.mSink; in android_Player_checkSourceSink()
371 const SLDataSink *pAudioSnk = &mp->mAudioSink.u.mSink; in android_Player_create()
/frameworks/av/media/libstagefright/include/
DAwesomePlayer.h159 sp<MediaPlayerBase::AudioSink> mAudioSink; member
/frameworks/wilhelm/src/itf/
DIEngine.c1093 thiz->mAudioSink.mLocator.mLocatorType = XA_DATALOCATOR_NULL; in IEngine_CreateMediaPlayer()
1094 thiz->mAudioSink.mFormat.mFormatType = XA_DATAFORMAT_NULL; in IEngine_CreateMediaPlayer()
1133 &thiz->mAudioSink, DATALOCATOR_MASK_OUTPUTMIX, DATAFORMAT_MASK_NULL); in IEngine_CreateMediaPlayer()