-
-
Save PromyLOPh/325e301703f2ac349d3a960982b30de6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/player.c b/src/player.c | |
index bd43e2e..3dc0626 100644 | |
--- a/src/player.c | |
+++ b/src/player.c | |
@@ -541,6 +541,7 @@ void *BarAoPlayThread (void *data) { | |
/* wait for more frames */ | |
debugPrint ("ao player is waiting for more frames after code %i\n", | |
ret); | |
+ pthread_cond_broadcast (&player->aoplayCond); | |
pthread_cond_wait (&player->aoplayCond, &player->aoplayLock); | |
pthread_mutex_unlock (&player->aoplayLock); | |
continue; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment