with one buffer in ringbuffer it seems to work.
authorTorben Hohn <torbenh@gmx.de>
Tue, 31 Mar 2009 16:48:16 +0000 (31 18:48 +0200)
committerTorben Hohn <torbenh@gmx.de>
Tue, 31 Mar 2009 16:48:16 +0000 (31 18:48 +0200)
flashsupport.c

index f58c7ee..6f4f011 100644 (file)
@@ -1191,8 +1191,8 @@ static void *FPX_SoundOutput_Open(void) {
     p->buffer = jack_ringbuffer_create( bufsize * 6 );
     sem_init( &(p->semaphore), 0, 0 );
 
-    pthread_create( &(p->tid), NULL, jack_flash_thread, p );
-#if 0 
+    //pthread_create( &(p->tid), NULL, jack_flash_thread, p );
+#if 1 
 // This seems to trigger a race condition in flash.
 
     jack_client_create_thread( p->client,