Lines Matching refs:mOutput

1239         audio_output_flags_t flags = mOutput->flags;  in checkEffectCompatibility_l()
1813 mOutput(output), in PlaybackThread()
1841 if (mOutput && mOutput->audioHwDev) { in PlaybackThread()
1842 if (mOutput->audioHwDev->canSetMasterVolume()) { in PlaybackThread()
1846 if (mOutput->audioHwDev->canSetMasterMute()) { in PlaybackThread()
1850 mOutput->audioHwDev->moduleName(), AUDIO_HARDWARE_MODULE_ID_MSD) == 0; in PlaybackThread()
1897 status_t result = mOutput->stream->setParameters(String8("exiting=1")); in preExit()
1983 AudioStreamOut *output = mOutput; in dumpInternals_l()
2023 audio_output_flags_t outputFlags = mOutput->flags; in createTrack_l()
2235 sampleRate, format, channelMask, mOutput, mFormat); in createTrack_l()
2246 sampleRate, format, channelMask, mOutput, mFormat); in createTrack_l()
2256 format, mOutput, mFormat); in createTrack_l()
2360 if (initCheck() == NO_ERROR && mOutput->stream->getLatency(&latency) == OK) { in latency_l()
2370 if (mOutput && mOutput->audioHwDev && in setMasterVolume()
2371 mOutput->audioHwDev->canSetMasterVolume()) { in setMasterVolume()
2390 if (mOutput && mOutput->audioHwDev && in setMasterMute()
2391 mOutput->audioHwDev->canSetMasterMute()) { in setMasterMute()
2420 mOutput->stream->setVolume(left, right); in setVolumeForOutput_l()
2549 if (initCheck() == NO_ERROR && mOutput->stream->getParameters(keys, &out_s8) == OK) { in getParameters()
2557 if (mOutput == nullptr || mOutput->stream == nullptr) { in selectPresentation()
2560 return mOutput->stream->selectPresentation(presentationId, programId); in selectPresentation()
2637 mSampleRate = mOutput->getSampleRate(); in readOutputParameters_l()
2638 mChannelMask = mOutput->getChannelMask(); in readOutputParameters_l()
2651 status_t result = mOutput->stream->getFormat(&mHALFormat); in readOutputParameters_l()
2655 mFormat = mOutput->getFormat(); in readOutputParameters_l()
2664 mFrameSize = mOutput->getFrameSize(); in readOutputParameters_l()
2665 result = mOutput->stream->getBufferSize(&mBufferSize); in readOutputParameters_l()
2674 if (mOutput->flags & AUDIO_OUTPUT_FLAG_NON_BLOCKING) { in readOutputParameters_l()
2675 if (mOutput->stream->setCallback(this) == OK) { in readOutputParameters_l()
2682 if (mOutput->flags & AUDIO_OUTPUT_FLAG_DIRECT) { in readOutputParameters_l()
2684 if (mOutput->stream->supportsPauseAndResume(&supportsPause, &supportsResume) == OK) { in readOutputParameters_l()
2694 if (!mHwSupportsPause && mOutput->flags & AUDIO_OUTPUT_FLAG_HW_AV_SYNC) { in readOutputParameters_l()
2802 if (mOutput == nullptr || mOutput->stream == nullptr ) { in updateMetadata_l()
2826 mOutput->stream->updateSourceMetadata(metadata); in sendMetadataToBackend_l()
2850 status = mOutput->getRenderPosition(&frames); in getRenderPosition()
2876 return mOutput; in getOutput()
2882 AudioStreamOut *output = mOutput; in clearOutput()
2883 mOutput = NULL; in clearOutput()
2895 if (mOutput == NULL) { in stream()
2898 return mOutput->stream; in stream()
3016 bytesWritten = mOutput->write((char *)mSinkBuffer + offset, mBytesRemaining); in threadLoop_write()
3037 if (mOutput->stream->supportsDrain(&supportsDrain) == OK && supportsDrain) { in threadLoop_drain()
3045 status_t result = mOutput->stream->drain(mMixerStatus == MIXER_DRAIN_TRACK); in threadLoop_drain()
4005 if ((mType == OFFLOAD || mType == DIRECT) && mOutput != NULL) { in getTimestamp_l()
4007 if (mOutput->getPresentationPosition(&position64, &timestamp.mTime) == OK) { in getTimestamp_l()
4032 if ((mOutput->flags & AUDIO_OUTPUT_FLAG_VOIP_RX) != 0) { in handleVoipVolume_l()
4034 result = mOutput->stream->setVolume(*volume, *volume); in handleVoipVolume_l()
4075 && !mOutput->audioHwDev->supportsAudioPatches(), in createAudioPatch_l()
4117 if (mOutput->audioHwDev->supportsAudioPatches()) { in createAudioPatch_l()
4118 sp<DeviceHalInterface> hwDevice = mOutput->audioHwDev->hwDevice(); in createAudioPatch_l()
4137 status = mOutput->stream->setParameters(param.toString()); in createAudioPatch_l()
4167 if (mOutput->audioHwDev->supportsAudioPatches()) { in releaseAudioPatch_l()
4168 sp<DeviceHalInterface> hwDevice = mOutput->audioHwDev->hwDevice(); in releaseAudioPatch_l()
4173 status = mOutput->stream->setParameters(param.toString()); in releaseAudioPatch_l()
4194 config->ext.mix.hw_module = mOutput->audioHwDev->handle(); in toAudioPortConfig()
4196 if (mOutput && mOutput->flags != AUDIO_OUTPUT_FLAG_NONE) { in toAudioPortConfig()
4198 config->flags.output = mOutput->flags; in toAudioPortConfig()
4445 mOutput->write((char *)mSinkBuffer, 0); in threadLoop_write()
4533 mOutput->standby(); in threadLoop_standby()
4815 status_t result = mOutput->stream->getLatency(&latency); in prepareTracks_l()
5433 status = mOutput->stream->setParameters(keyValuePair); in checkForNewParameter_l()
5435 mOutput->standby(); in checkForNewParameter_l()
5438 status = mOutput->stream->setParameters(keyValuePair); in checkForNewParameter_l()
5821 status_t result = mOutput->stream->pause(); in prepareTracks_l()
5828 status_t result = mOutput->stream->resume(); in prepareTracks_l()
5946 status = mOutput->stream->setParameters(keyValuePair); in checkForNewParameter_l()
5948 mOutput->standby(); in checkForNewParameter_l()
5951 status = mOutput->stream->setParameters(keyValuePair); in checkForNewParameter_l()
6013 mOutput->flush(); in flushHw_l()
6343 status_t result = mOutput->stream->getLatency(&latency); in prepareTracks_l()
6348 mBytesWritten / mOutput->getFrameSize(); in prepareTracks_l()
6369 status_t ret = mOutput->stream->getPresentationPosition(&position, &unused); in prepareTracks_l()
6404 status_t result = mOutput->stream->pause(); in prepareTracks_l()
6411 status_t result = mOutput->stream->resume(); in prepareTracks_l()
6629 if (thread->getOutput() == mOutput) { in removeOutputTrack()
6630 mOutput = NULL; in removeOutputTrack()
9210 mOutput(output) in MmapPlaybackThread()
9241 AudioStreamOut *output = mOutput; in clearOutput()
9242 mOutput = NULL; in clearOutput()
9330 if (mOutput->stream->setVolume(volume, volume) == NO_ERROR) { in processVolume_l()
9363 if (mOutput == nullptr || mOutput->stream == nullptr || in updateMetadata_l()
9376 mOutput->stream->updateSourceMetadata(metadata); in updateMetadata_l()
9399 if (mOutput && mOutput->flags != AUDIO_OUTPUT_FLAG_NONE) { in toAudioPortConfig()
9401 config->flags.output = mOutput->flags; in toAudioPortConfig()