Re: Stuck notes in Rax and Synthtest
Re: Stuck notes in Rax and Synthtest
- Subject: Re: Stuck notes in Rax and Synthtest
- From: Pete Yandell <email@hidden>
- Date: Thu, 8 May 2003 17:32:21 +1000
I've had a bunch of user reports of stuck notes in my SimpleSynth,
which uses the DLS music device, but have never been able to reproduce
the problem on my (single processor) machine. The thought that it could
be a multiple processor issue hadn't even occurred to me until this
thread popped up.
So please keep posting with your findings for those of us that don't
have a multiple processor machine on which to test!
On Thursday, May 8, 2003, at 05:09 PM, Yasir Assam wrote:
I'm getting stuck notes playing the DLSMusicDevice. It sounds like it
might
be same thing.
How can I use a mutex to block my MIDI playback thread while the
DLSMusicDevice is doing its thing? I've probably not understood this
right,
but when you use a mutex both threads need to call
pthread_mutex_lock() on
the same pthread_mutex_t variable don't they? This would mean both my
MIDI
playback code and the DLSMusicDevice would have to use the same
pthread_mutex_t, and as the DLSMusicDevice code is hidden from me I
can't do
this. Have I understood this right?
My question really is, how can I block my MIDI playback thread from
calling
MusicDeviceMIDIEvent() whilst the DLSMusicDevice is in a state where it
*cannot* receive MIDI events?
Thanks,
Yasir Assam
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.