Multi Output AU
Multi Output AU
- Subject: Multi Output AU
- From: email@hidden
- Date: Tue, 28 Aug 2007 14:40:49 +0200 (CEST)
I've been searching the archives for a while and haven't found a solution
to this problem.
My AU (Music Device) is to support multiple outputs and configurations,
either 2 outputs (standard stereo out) or 2+11 outputs (one stereo out,
and 11 mono outputs).
Current I do:
Call MusicDeviceBase with numOutputs = 1 (this refers to the number of
output buses right? I only need one).
In Constructor call ChangeStreamFormat() with mChannelsPerFrame = 13 after
CreateElements() (This can't be right, since I want to support either 2 or
13 outputs. Also if I do this before before CreateElements() I get crashes
and CreateElements() does the buffer allocation as far as I can tell).
In SupportedNumberOfChannels() I report
{0,2} and {0,13}
I respond to getProperty() kAudioUnitProperty_SupportedNumChannels
So far the results have been either auval refusing to validate the AU with
a "can't perform render tests" due to channel reporting errors, or I can
get the AU to validate with 13 outputs, but the buffers handed to me are
not properly allocated (resulting in crashes).
What do I need to implement to get this working?
Any help would be greatly appreciated..!
Best regards,
Mike Janney
AudioRealism
www.audiorealism.se
_______________________________________________
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