Re: [AD] (still) a race condition in mixer.c

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Sam's only change was to synchronise _mix_some_samples() and
> _mixer_release_voice(), which should not have such a big impact.

Ok, let's give it a try then.

Sam, would you mind adapting your code to the internal synchronization API? 
The model is src/timer.c (the #ifdef ALLEGRO_MULTITHREADED/#endif lines). 
Then re-enable ALLEGRO_MULTITHREADED in include/allegro/platform/alucfg.h 
AND disable it in src/timer.c (yes, you read correctly :-), for example by 
turning

	#ifdef ALLEGRO_MULTITHREADED

into

	#if defined ALLEGRO_MULTITHREADED && 0  /* FIXME */

Thanks in advance.

-- 
Eric Botcazou




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/