GarageBand too clever by half.
GarageBand too clever by half.
- Subject: GarageBand too clever by half.
- From: Ian Kemmish <email@hidden>
- Date: Wed, 8 Feb 2006 10:02:42 +0000
I have observed that when GarageBand calls my MusicDevice AU's Render
method, the first three calls have inNumberFrames equal to 1024, and
the fourth and subsequent calls have it equal to 256.
Is it expected that calling Render with varying values for
inNumberFrames is a rare or a common thing to happen?
My AU maintains a scheduler for internal events, which has to handle
potentially thousands of events from less than a millisecond up to
many minutes. When it comes to implementing the event queue, I have
the choice of either aggressive cacheing or many expensive sorting
operations. I opted for aggressive cacheing -- but this means that
responding to changes in the value of inNumberFrames is a *very*
expensive operation. If I need to sweat over improving this, I'd
like to know....
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
Ian Kemmish 18 Durham Close, Biggleswade, Beds
SG18 8HZ
email@hidden Tel: +44 1767 601361 Mob: +44 7952
854387
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden