changeset 32:71fce7ac6e13

Bug fix: Boolean should have been flipped...causes deadlock.
author Eric Wing <ewing@anscamobile.com>
date Tue, 29 Mar 2011 15:55:02 -0700
parents ad4eb4330fb0
children 28cf14726606
files ALmixer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ALmixer.c	Tue Mar 29 11:16:39 2011 -0700
+++ b/ALmixer.c	Tue Mar 29 15:55:02 2011 -0700
@@ -7374,7 +7374,7 @@
 
 	/* Is locking really necessary here? */
 /*	SDL_LockMutex(s_simpleLock); */
-	g_StreamThreadEnabled = AL_TRUE;
+	g_StreamThreadEnabled = AL_FALSE;
 /*	SDL_UnlockMutex(s_simpleLock); */
 
 	SDL_WaitThread(Stream_Thread_global, NULL);