From d850ecb33250f963593a0988fc91c2d21b17a725 Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Tue, 23 Jan 2018 13:41:46 +0200 Subject: [PATCH 1/1] alSourceStop was commented out for some reason in AudioStream::stop, which would make the thread function loop endlessly waiting for the source to stop playing ... --- src/audio/stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/stream.cc b/src/audio/stream.cc index 39a147c..10ea3d1 100644 --- a/src/audio/stream.cc +++ b/src/audio/stream.cc @@ -99,7 +99,7 @@ void AudioStream::stop() if(alsrc) { done = true; - //alSourceStop(alsrc); + alSourceStop(alsrc); printf("waiting for the music thread to stop\n"); pthread_mutex_unlock(&mutex); pthread_join(play_thread, 0); -- 1.7.10.4