Re: AU - MIDI event thread level
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.