auval failure after AU-SDK upgrade
auval failure after AU-SDK upgrade
- Subject: auval failure after AU-SDK upgrade
- From: Motti Shneor <email@hidden>
- Date: Wed, 7 Apr 2010 05:55:45 -0400
- Acceptlanguage: en-US
- Thread-topic: auval failure after AU-SDK upgrade
Hello everyone.
I'm trying to move a set of AU Effects (based on the AUMidiEffectBase) from CoreAudioSDK v1.4.4 up to the current CoreAudioSDK from the latest XCode 3.2.1 release (it has no version specified).
I switched the SDK source references, and I had to change several method overrides for their new signatures (mainly in the view-component) before I could build it all.
I then try to validate my effects using auval -v , and they all fail for the same reason.
Checking parameter setting
Using AudioUnitSetParameter
Using AudioUnitScheduleParameter
ERROR: Output Buffer Size does not match requested num frames
* * FAIL
This problem has not occurred in the past using the same code and CoreAudioSDK v1.4.4.
I searched the problem up the CoreAudio-API list, and found that this error was related to an old bug in the AUEffectBase back in 2004! I suppose this bug is no longer in the SDK (actually, not in the 1.4.4 SDK I used before). Here's the link to the reference:
http://lists.apple.com/archives/coreaudio-api/2004/Sep/msg00190.html
Can anyone help me figure out what the failure means, and where to look for the problem?
Following is an excerpt from one effect report. I removed the bulk of individual parameter tests because they seem to be OK and they all PASS.
Thanks!
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
AU Validation Tool
Version: 1.6.1a1
Copyright 2003-2007, Apple, Inc. All Rights Reserved.
Specify -h (-help) for command options
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
--------------------------------------------------
VALIDATING AUDIO UNIT: 'aufx' - 'C1CM' - 'ksWV'
--------------------------------------------------
Manufacturer String: Waves
AudioUnit name: C1 comp-sc (m)
Component Version: 7.0.0 (0x70000)
* * PASS
--------------------------------------------------
TESTING OPEN TIMES:
COLD:
Time to open AudioUnit: 154.917 ms
WARM:
Time to open AudioUnit: 72.808 ms
FIRST TIME:
Time for initialization: 0.006 ms
* * PASS
--------------------------------------------------
VERIFYING DEFAULT SCOPE FORMATS:
Input Scope Bus Configuration:
Default Bus Count:1
Bus Name: Main Input Bus
Default Format: AudioStreamBasicDescription: 1 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Has Channel Layouts: 0x640001
Default Layout:
Tag=0x640001, Num Chan Descs=1
Label=-1, Flags=0x0, [az=0.000000,el=0.000000,dist=0.000000]
Output Scope Bus Configuration:
Default Bus Count:1
Bus Name: Main Output Bus
Default Format: AudioStreamBasicDescription: 1 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Has Channel Layouts: 0x640001
Default Layout:
Tag=0x640001, Num Chan Descs=1
Label=-1, Flags=0x0, [az=0.000000,el=0.000000,dist=0.000000]
* * PASS
--------------------------------------------------
VERIFYING REQUIRED PROPERTIES:
VERIFYING PROPERTY: Sample Rate
PASS
VERIFYING PROPERTY: Stream Format
PASS
VERIFYING PROPERTY: Maximum Frames Per Slice
PASS
VERIFYING PROPERTY: Last Render Error
PASS
* * PASS
--------------------------------------------------
VERIFYING RECOMMENDED PROPERTIES:
VERIFYING PROPERTY: Latency
PASS
VERIFYING PROPERTY: Tail Time
PASS
VERIFYING PROPERTY: Bypass Effect
PASS
* * PASS
--------------------------------------------------
VERIFYING OPTIONAL PROPERTIES:
VERIFYING PROPERTY Supported Number of Channels
PASS
VERIFYING PROPERTY Host Callbacks
PASS
* * PASS
--------------------------------------------------
VERIFYING SPECIAL PROPERTIES:
VERIFYING CUSTOM UI
Carbon View Components Available: 1
auvw X010 ksWV - Waves: AudioTrack
PASS
Cocoa Views Available: 0
VERIFYING CLASS INFO
PASS
TESTING HOST CALLBACKS
PASS
* * PASS
--------------------------------------------------
PUBLISHED PARAMETER INFO:
# # # 14 Global Scope Parameters:
Testing that parameters retain value across reset and initialization
PASS
* * PASS
--------------------------------------------------
FORMAT TESTS:
Reported Channel Capabilities (explicit):
[1, 1]
Input/Output Channel Handling:
1-1 1-2 1-4 1-5 1-6 1-7 1-8 2-2 2-4 2-5 2-6 2-7 2-8 4-4 4-5 5-5 6-6 7-7 8-8
X
# # AudioChannelLayouts (1), Input Scope:
ChannelLayout is Writable: T
The Unit publishes the following Channel Layouts:
0x640001,
Is Audio Channel Layout Available:
Mono Stereo Binau. AU_4 Ambi. AU_5 AU_5_0 AU_6 AU_6_0 AU_7_0 AU_7_0F AU_8 AU_5_1 AU_6_1 AU_7_1 AU_7_1F
X
Current Format:AudioStreamBasicDescription: 1 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Current Format Tag = 0x640001, New Format Tag = 0x640001, Successsful
# # AudioChannelLayouts (1), Output Scope:
ChannelLayout is Writable: T
The Unit publishes the following Channel Layouts:
0x640001,
Is Audio Channel Layout Available:
Mono Stereo Binau. AU_4 Ambi. AU_5 AU_5_0 AU_6 AU_6_0 AU_7_0 AU_7_0F AU_8 AU_5_1 AU_6_1 AU_7_1 AU_7_1F
X
Current Format:AudioStreamBasicDescription: 1 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Current Format Tag = 0x640001, New Format Tag = 0x640001, Successsful
* * PASS
--------------------------------------------------
RENDER TESTS:
Input Format: AudioStreamBasicDescription: 1 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Output Format: AudioStreamBasicDescription: 1 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
WARNING: AU Doesn't support 22050 sample rate
Render Test at 137 frames, sample rate: 96000 Hz
Render Test at 4096 frames, sample rate: 48000 Hz
Render Test at 4096 frames, sample rate: 192000 Hz
WARNING: AU Doesn't support 192000 sample rate
Render Test at 4096 frames, sample rate: 11025 Hz
WARNING: AU Doesn't support 11025 sample rate
Render Test at 512 frames, sample rate: 44100 Hz
PASS
1 Channel Test:
In and Out Format: AudioStreamBasicDescription: 1 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Render Test at 512 frames
PASS
Checking connection semantics:
Connection format:
AudioStreamBasicDescription: 1 ch, 44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
PASS
Bad Max Frames - Render should fail
PASS
Checking parameter setting
Using AudioUnitSetParameter
Using AudioUnitScheduleParameter
ERROR: Output Buffer Size does not match requested num frames
* * FAIL
--------------------------------------------------
AU VALIDATION FAILED: CORRECT THE ERRORS ABOVE.
--------------------------------------------------
Motti Shneor
------------------------------------------
Senior Software Engineer
Waves Audio ltd.
_______________________________________________
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