• 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: AU - MIDI event thread level
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AU - MIDI event thread level


  • Subject: Re: AU - MIDI event thread level
  • From: Bill Stewart <email@hidden>
  • Date: Tue, 18 Mar 2003 19:10:16 -0800

Depends what the property is?

I wouldn't do (and these properties can quite legally FAIL if the AU is Initialized):
SetMaxFrames
SetStreamFormat
SetBusCount
Set (SpeakerConfiguration) - can change the channel valance
UsesInternalReverb (de/allocates additional busses...)

As Jeremy said - any property (whether private or public) that can allocate memory - typically that's what SetProperty calls do, so mostly the answer (theoretically) is no...

Bill

On Tuesday, March 18, 2003, at 12:38 PM, Jeremy Sagan wrote:

Marc,

From the standpoint of a host application it is important that NO memory is allocated or disposed while MIDI events are being processed. I think the assumption should be made that this is called from the I/O thread.

Jeremy

On Tuesday, March 18, 2003, at 03:21 PM, Marc Poirier wrote:

Hi. What's the thread level of MIDI events in MusicEffects and
MusicDevices? Is it safe to call AUBase::SetProperty() from and
implementation of AUMIDIBase::HandleMidiEvent() or should only
asynchronous notifications be used?

Thanks,
Marc
_______________________________________________
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.


-- mailto:email@hidden
tel: +1 408 974 4056

________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __
_______________________________________________
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: AU - MIDI event thread level (From: Jeremy Sagan <email@hidden>)

  • Prev by Date: Re: AudioUnits and Cocoa UI
  • Next by Date: Re: Sound Mgr crash in LinearInterpolate16
  • Previous by thread: Re: AU - MIDI event thread level
  • Next by thread: JAVA and CoreAudio: HELP!
  • Index(es):
    • Date
    • Thread