• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Stuck notes in Rax and Synthtest
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stuck notes in Rax and Synthtest


  • Subject: Re: Stuck notes in Rax and Synthtest
  • From: Chris Reed <email@hidden>
  • Date: Wed, 7 May 2003 13:54:54 -0500

On Wednesday, May 7, 2003, at 08:52 US/Central, Angus F. Hewlett wrote:

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.

Thanks for bringing this up. It was actually worrying me while I was working on another project a while back (a host).

I really think something about this needs to be added to the official documentation (hint hint ;).

Specifically, does what Angus says below hold true? Or do events received while a buffer is being rendered apply to *that* buffer--which would imply that you want that event to take effect immediately. I would think the former.

-chris


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().

Regards,
Angus.
=======================================================
Angus F. Hewlett, Technical Director
FXpansion Audio UK Ltd - http://www.fxpansion.com
=======================================================
_______________________________________________
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.

References: 
 >Re: Stuck notes in Rax and Synthtest (From: "Angus F. Hewlett" <email@hidden>)

  • Prev by Date: Re: Non C++ IOKit driver.
  • Next by Date: Re: Stuck notes in Rax and Synthtest
  • Previous by thread: Re: Stuck notes in Rax and Synthtest
  • Next by thread: RE: Stuck notes in Rax and Synthtest
  • Index(es):
    • Date
    • Thread