mixer/Control: move some code to Lock*() methods

This commit is contained in:
Max Kellermann
2022-08-18 14:29:07 +02:00
parent b0873fbc90
commit 29eb3e9ebc
11 changed files with 155 additions and 144 deletions

View File

@@ -170,7 +170,7 @@ ReplayGainFilter::Update()
_volume = 100;
try {
mixer_set_volume(*mixer, _volume);
mixer->LockSetVolume(_volume);
/* invoke the mixer's listener manually, just
in case the mixer implementation didn't do