alSourceStop was commented out for some reason in AudioStream::stop,
[laserbrain_demo] / src / audio / stream.cc
index 39a147c..10ea3d1 100644 (file)
@@ -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);