Commit 7b61b9a1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Revert "wasapi: report volume/mute (refs #6880, refs #7203)"

This reverts commit 12627b88.
parent 0f82e032
......@@ -207,8 +207,6 @@ static int SimpleVolumeSet(audio_output_t *aout, float vol)
hr = ISimpleAudioVolume_SetMasterVolume(sys->volume.simple, vol, NULL);
if (FAILED(hr))
msg_Warn(aout, "cannot set session volume (error 0x%lx)", hr);
else /* Hack until volume notifications implemented: */
aout_VolumeReport(aout, vol);
Leave();
return FAILED(hr) ? -1 : 0;
}
......@@ -223,8 +221,6 @@ static int SimpleMuteSet(audio_output_t *aout, bool mute)
hr = ISimpleAudioVolume_SetMute(sys->volume.simple, mute, NULL);
if (FAILED(hr))
msg_Warn(aout, "cannot mute session (error 0x%lx)", hr);
else /* Hack until volume notifications implemented: */
aout_MuteReport(aout, mute);
Leave();
return FAILED(hr) ? -1 : 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment