diff options
Diffstat (limited to 'src/OutputAll.cxx')
-rw-r--r-- | src/OutputAll.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/OutputAll.cxx b/src/OutputAll.cxx index a18a63385..4cdcc84e7 100644 --- a/src/OutputAll.cxx +++ b/src/OutputAll.cxx @@ -481,15 +481,15 @@ audio_output_all_check(void) bool audio_output_all_wait(struct player_control *pc, unsigned threshold) { - player_lock(pc); + pc->Lock(); if (audio_output_all_check() < threshold) { - player_unlock(pc); + pc->Unlock(); return true; } - player_wait(pc); - player_unlock(pc); + pc->Wait(); + pc->Unlock(); return audio_output_all_check() < threshold; } |