projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More silly mistakes
[laserbrain_demo]
/
src
/
audio
/
stream.cc
diff --git
a/src/audio/stream.cc
b/src/audio/stream.cc
index
39a147c
..
10ea3d1
100644
(file)
--- a/
src/audio/stream.cc
+++ b/
src/audio/stream.cc
@@
-99,7
+99,7
@@
void AudioStream::stop()
if(alsrc) {
done = true;
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);
printf("waiting for the music thread to stop\n");
pthread_mutex_unlock(&mutex);
pthread_join(play_thread, 0);