Home | History | Annotate | Download | only in audioflinger

Lines Matching refs:delayMs

300     int delayMs = 0;
305 delayMs = hwOutputDesc->mLatency*2;
310 setOutputDevice(mHardwareOutput, newDevice, force, delayMs);
1540 void AudioPolicyManagerBase::setOutputDevice(audio_io_handle_t output, uint32_t device, bool force, int delayMs)
1542 LOGV("setOutputDevice() output %d device %x delayMs %d", output, device, delayMs);
1547 setOutputDevice(outputDesc->mOutput1->mId, device, force, delayMs);
1548 setOutputDevice(outputDesc->mOutput2->mId, device, force, delayMs);
1588 mpClientInterface->setParameters(mHardwareOutput, param.toString(), delayMs);
1590 applyStreamVolumes(output, device, delayMs);
1603 setStrategyMute(STRATEGY_MEDIA, false, output, delayMs);
1697 status_t AudioPolicyManagerBase::checkAndSetVolume(int stream, int index, audio_io_handle_t output, uint32_t device, int delayMs, bool force)
1718 LOGV("setStreamVolume() for output %d stream %d, volume %f, delay %d", output, stream, volume, delayMs);
1732 mpClientInterface->setVoiceVolume(voiceVolume, delayMs);
1735 mpClientInterface->setStreamVolume((AudioSystem::stream_type)stream, volume, output, delayMs);
1741 void AudioPolicyManagerBase::applyStreamVolumes(audio_io_handle_t output, uint32_t device, int delayMs)
1746 checkAndSetVolume(stream, mStreams[stream].mIndexCur, output, device, delayMs);
1750 void AudioPolicyManagerBase::setStrategyMute(routing_strategy strategy, bool on, audio_io_handle_t output, int delayMs)
1755 setStreamMute(stream, on, output, delayMs);
1760 void AudioPolicyManagerBase::setStreamMute(int stream, bool on, audio_io_handle_t output, int delayMs)
1770 checkAndSetVolume(stream, 0, output, outputDesc->device(), delayMs);
1781 checkAndSetVolume(stream, streamDesc.mIndexCur, output, outputDesc->device(), delayMs);