RE: Stuck notes in Rax and Synthtest
RE: Stuck notes in Rax and Synthtest
- Subject: RE: Stuck notes in Rax and Synthtest
- From: "Yasir Assam" <email@hidden>
- Date: Thu, 8 May 2003 18:09:41 +1000
I myself haven't seen this on my machine, but my colleagues (not in the same
office - so I haven't seen it for myself) have.
We get stuck notes whether we use the DLSMusicDevice or the QT synth (which
I understand uses DLSMusicDevice). Apparently this happens on dual processor
machines but I think it might also happen on the latest iMacs (I'm using
quite an old iMac).
I don't understand why it should happen on only some machines.
Thanks,
Yasir Assam
>
-----Original Message-----
>
From: email@hidden
>
[mailto:email@hidden]On Behalf Of Pete Yandell
>
Sent: Thursday, 8 May 2003 5:32 PM
>
To: email@hidden
>
Subject: Re: Stuck notes in Rax and Synthtest
>
>
>
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.
_______________________________________________
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.