From 36239895bd822d5fd3087218fbb10986430b8c9b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 11 Nov 2015 16:50:57 +0100 Subject: player/Control: add Lock prefix to locking method names --- src/output/OutputCommand.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/output') 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; -- cgit v1.2.3