From 8f5a49fe57cadb2f9ba0f271522ad6105d39ee8d Mon Sep 17 00:00:00 2001 From: Torben Hohn Date: Tue, 31 Mar 2009 18:48:16 +0200 Subject: [PATCH] with one buffer in ringbuffer it seems to work. --- flashsupport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flashsupport.c b/flashsupport.c index f58c7ee..6f4f011 100644 --- a/flashsupport.c +++ b/flashsupport.c @@ -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, -- 2.11.4.GIT