• 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: Threading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Threading


  • Subject: Re: Threading
  • From: Robert Grant <email@hidden>
  • Date: Wed, 6 Aug 2003 15:30:55 -0400

Hmmm,

I'm sure Rax could be an offender here as it just hands the MIDI events it receives on the MIDI proc straight to the Music Device. But doesn't it seem like sensible behavior for the AUMIDIBase class to handle the threading issues? Rather than make every host reinvent the wheel and sync with the Render thread. A simple thread-safe queue would do the trick.

Implementing stuff like this would scare off folks wanting to knock up a simple host...

Or am I missing something?

Robert.


On Wednesday, August 6, 2003, at 07:51 AM, Urs Heckmann wrote:

Hi Angus,

wow. That renders timestamps a joke, huh?

Any chance to get the name of such host? - I should better check if my Music Device produces any hanging notes or even crashes due to queueing problems before I release it...

Well, if I take Apple's documentation, Logic is the standard host to look at. I havn't had any hanging note/crash after several minutes of recorded and live wild-forearm-play, accompanied by chaotic start/stop sequencer - But of course, I'd prefer to be on the safe side (and exclude that host from my compatibility list, hehe 8-)

Thanks,

;) Urs


Am Mittwoch, 06.08.03, um 13:34 Uhr (Europe/Berlin) schrieb Angus F. Hewlett:

I've seen hosts do this, b/c they run their MIDI I/O in a different thread
to CoreAudio's rendering thread. Whether or not they are compliant, that's
a different matter :-)

At 01:20 PM 8/6/2003 +0200, Urs Heckmann wrote:
Hi list,

just a quick question:

Am I right that an AU host may never ever send a Music Device any sort
of Note/Midi/Control events (anything timestamped, to be precise)
during an ongoing Render() call or vice versa, even on multiprocessor
systems and whatever?

Thanks,

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


=======================================================
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.
_______________________________________________
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: Threading (From: Urs Heckmann <email@hidden>)

  • Prev by Date: Re: AU MIDI events scheduled beyond next rendering slice
  • Next by Date: Re: Threading
  • Previous by thread: Re: Threading
  • Next by thread: Re: Threading
  • Index(es):
    • Date
    • Thread