aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/OutputCommand.cxx')
-rw-r--r--src/OutputCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OutputCommand.cxx b/src/OutputCommand.cxx
index f4edaa4a1..be52b49a8 100644
--- a/src/OutputCommand.cxx
+++ b/src/OutputCommand.cxx
@@ -53,7 +53,7 @@ audio_output_enable_index(unsigned idx)
ao->enabled = true;
idle_add(IDLE_OUTPUT);
- pc_update_audio(ao->player_control);
+ ao->player_control->UpdateAudio();
++audio_output_state_version;
@@ -82,7 +82,7 @@ audio_output_disable_index(unsigned idx)
idle_add(IDLE_MIXER);
}
- pc_update_audio(ao->player_control);
+ ao->player_control->UpdateAudio();
++audio_output_state_version;