MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / setMasterVolume

Method setMasterVolume

src/engine/AudioEngine.cpp:467–472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467void Xaudio2Implementation::setMasterVolume(float volume)
468{
469 HRESULT hr;
470 if (!m_master || FAILED(hr = m_master->SetVolume(volume)))
471 log::warning("AudioEngine : cannot set master volume");
472}
473
474void Xaudio2Implementation::setEffectsVolume(float volume)
475{

Callers

nothing calls this directly

Calls 1

warningFunction · 0.85

Tested by

no test coverage detected