Re: Audio Unit: BusCountWritable Problem
Re: Audio Unit: BusCountWritable Problem
- Subject: Re: Audio Unit: BusCountWritable Problem
- From: Jan Weigel <email@hidden>
- Date: Tue, 06 Aug 2013 11:28:07 +0200
Please, could anybody who has implemented an Audio Unit with a
variable number of buses give me some information what is missing in
the implementation I described below?
Thanks in advance.
Cheers,
Jan
Am 05/08/2013 13:13, schrieb Jan
Weigel:
Hello,
I have an Audio Unit Instrument that supports multiple output bus
configurations.
For example it supports:
1 stereo output bus,
2 stereo output buses
2 mono output buses
5 stereo output buses
5 mono output buses.
I have implented BusCountWritable() to return true and
SetBusCount() to return kAudioUnitErr_InvalidPropertyValue
whenever inScope == kAudioUnitScope_Output and inCount is not a
supported number.
However in the Logic Plugin Menu it shows a lot of Output
configurations that are not supported by the plugin:
Mono
Stereo
Multi-Output (16x Mono)
Multi-Output (1xStereo, 15xMono)
Multi-Output (8xStereo, 8xMono)
Multi-Output (16xStereo)
What else do I have to implement to show only the supported
configurations (the supported number of buses)?
If I return false in BusCountWritable() then only the initial bus
configuration is shown correctly but it is not possible to change
the number of buses.
Any help appreciated.
Thanks
|
_______________________________________________
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