AU Instrument with side-chain support. How?
AU Instrument with side-chain support. How?
- Subject: AU Instrument with side-chain support. How?
- From: Floris Klinkert - FabFilter Software Instruments <email@hidden>
- Date: Thu, 11 Sep 2008 18:21:25 +0200
Hi,
We are creating a stereo AU instrument plug-in with side-chain support,
but we can't get it to validate correctly. Au validation fails and this
is the most important info:
--------------------------------
VERIFYING DEFAULT SCOPE FORMATS:
Input Scope Bus Configuration:
Default Bus Count:1
Default Format: AudioStreamBasicDescription: 2 ch, 44100 Hz,
'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Output Scope Bus Configuration:
Default Bus Count:1
Default Format: AudioStreamBasicDescription: 2 ch, 44100 Hz,
'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
* * PASS
-------------
FORMAT TESTS:
Reported Channel Capabilities (explicit):
[2, 2]
Input/Output Channel Handling:
1-1 1-2 1-4 1-5 1-6 1-7 1-8 2-2 2-4
X
ERROR: Unit incorrectly set to InputChans:3 OutputChans:1
* * FAIL
--------------------------------------------------
RENDER TESTS:
Input Format: AudioStreamBasicDescription: 2 ch, 44100 Hz, 'lpcm'
(0x00000029) 32-bit little-endian float, deinterleaved
Output Format: AudioStreamBasicDescription: 2 ch, 44100 Hz, 'lpcm'
(0x00000029) 32-bit little-endian float, deinterleaved
Render Test at 512 frames
Slicing Render Test at 64 frames
PASS
Render Test at 64 frames, sample rate: 22050 Hz
Render Test at 137 frames, sample rate: 96000 Hz
Render Test at 4096 frames, sample rate: 44100 Hz
Render Test at 4096 frames, sample rate: 192000 Hz
Render Test at 4096 frames, sample rate: 11025 Hz
Render Test at 512 frames, sample rate: 48000 Hz
PASS
---------------------------------------------------
So we create 1 stereo input element (for the side chain) and 1 stereo
output element (the main output). Then, when overriding
SupportedNumChannels, we specify 1 ChannelInfo object, that contains
inChannels = 2 and outChannels = 2.
But as you can see, this doesn't pass au validation, and gives us this
strange error message.
Any idea what we are doing wrong?
Thanks!
Floris Klinkert
_______________________________________________
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