aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/OutputCommand.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-11-11 16:50:57 +0100
committerMax Kellermann <max@duempel.org>2015-11-11 16:50:57 +0100
commit36239895bd822d5fd3087218fbb10986430b8c9b (patch)
tree6d0891ec5b68e2686ef8c000ad4b1d2a44157af4 /src/output/OutputCommand.cxx
parent738583e3d4cd7a35aec545448f86a8c097768785 (diff)
downloadmpd-36239895bd822d5fd3087218fbb10986430b8c9b.tar.gz
mpd-36239895bd822d5fd3087218fbb10986430b8c9b.tar.xz
mpd-36239895bd822d5fd3087218fbb10986430b8c9b.zip
player/Control: add Lock prefix to locking method names
Diffstat (limited to 'src/output/OutputCommand.cxx')
-rw-r--r--src/output/OutputCommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/output/OutputCommand.cxx b/src/output/OutputCommand.cxx
index dc7a540a2..c0719958f 100644
--- a/src/output/OutputCommand.cxx
+++ b/src/output/OutputCommand.cxx
@@ -53,7 +53,7 @@ audio_output_enable_index(MultipleOutputs &outputs, unsigned idx)
idle_add(IDLE_MIXER);
}
- ao.player_control->UpdateAudio();
+ ao.player_control->LockUpdateAudio();
++audio_output_state_version;
@@ -80,7 +80,7 @@ audio_output_disable_index(MultipleOutputs &outputs, unsigned idx)
idle_add(IDLE_MIXER);
}
- ao.player_control->UpdateAudio();
+ ao.player_control->LockUpdateAudio();
++audio_output_state_version;
@@ -106,7 +106,7 @@ audio_output_toggle_index(MultipleOutputs &outputs, unsigned idx)
}
}
- ao.player_control->UpdateAudio();
+ ao.player_control->LockUpdateAudio();
++audio_output_state_version;