Re: Stuck notes in Rax and Synthtest
Re: Stuck notes in Rax and Synthtest
- Subject: Re: Stuck notes in Rax and Synthtest
- From: Urs Heckmann <email@hidden>
- Date: Wed, 7 May 2003 17:54:23 +0200
Am Mittwoch, 07.05.03, um 15:52 Uhr (Europe/Berlin) schrieb Angus F.
Hewlett:
At 05:52 PM 5/6/2003 -0600, Chris Reed wrote:
Interesting... I was under the impression that you should really only
deliver MIDI events to a MusicDevice before the buffer is rendered.
That
way there is a clearly defined "0" sample offset.
Yes, but esp. on a dual machine, if it's not clearly defined that the
host
must performed mutexing, it's quite possible that MIDI events for the
-next- buffer might start getting delivered while Render() is still
doing
its thing.
Is there any
documentation about what a MusicDevice should do if it receives an
event
while a buffer is being rendered, and what 0 means then?
I would be inclined to say that as soon as Render() begins, any events
received are queued for the next Render().
Well, that's a pitfall I'm gonna run into as well. My stuff is thread
save (I hope), but probably only for single processors...
Could anyone briefly explain a newbie what a mutex is and how it's
used? (A link would do)
Cheers,
;) Urs
_______________________________________________
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.