Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

put bloops_play back the way it was to prevent double-adding

  • Loading branch information...
commit 6a8a8f08734f60f4a20442111979104f204d1dd4 1 parent 1bffbfb
@mental authored
Showing with 3 additions and 3 deletions.
  1. +1 −0  Makefile
  2. +2 −3 c/bloopsaphone.c
View
1  Makefile
@@ -47,6 +47,7 @@ clean:
@rm -f ${OBJ}
@rm -f c/notation.c c/*.o
@rm -f bloopsawhat libbloopsaphone.a bloopsaphone.so
+ @cd ext/ruby && make distclean || true
ruby: c/notation.c c/bloopsaphone.c
@${ECHO} RUBY extconf.rb
View
5 c/bloopsaphone.c
@@ -414,10 +414,9 @@ bloops_play(bloops *B)
A->nextnote[1] = 0;
}
+ bloops_remove(B);
for (i = 0; i < BLOOPS_MAX_CHANNELS; i++) {
- if (MIXER->B[i] == B) {
- break;
- } else if (MIXER->B[i] == NULL || MIXER->B[i]->play == BLOOPS_STOP) {
+ if (MIXER->B[i] == NULL || MIXER->B[i]->play == BLOOPS_STOP) {
bloops_ref(B);
if (MIXER->B[i] != NULL) {
bloops_destroy(MIXER->B[i]);
Please sign in to comment.
Something went wrong with that request. Please try again.