Hello,
I'm a relative newbie at AU programming, but I'm trying to write a 1 in 1 out AU as a first step to other non N->N AUs.
I've overridden SupportedNumChannels to return sChannels[1] = {{ 1, 1}} but when testing with auval, I get an error -10868 (ie kAudioUnitErr_FormatNotSupported) in the section "PUBLISHED PARAMETER INFO" with the output copied below. The line with "!!!!!! ins: 2, outs: 2 !!!!!!!!" is an extra debug statement I added by copying the AUEffectBase::Initialize() code and printfing the auNumInputs and auNumOutputs.
Must every AU support 2->2?
If not, and 1->1 is legitimate, what do I need to do to properly report unsupported formats, but avoid this failure in auval?
I'm confused... hopefully it's just something simple I'm missing and someone can help quickly.
Nick
auval output excerpt:
PUBLISHED PARAMETER INFO:
# # # 1 Global Scope Parameters: Parameter ID:0 Name: Parameter One Parameter Type: Linear Gain Values: Minimum = 0.000000, Default = 0.500000, Maximum = 1.000000 Flags: Readable, Writable -parameter PASS
Testing that parameters retain value across reset and initialization !!!!!! ins: 2, outs: 2 !!!!!!!! ERROR: -10868 IN CALL AudioUnitInitialize
* * FAIL
|