Re: SampleEffectUnit and auval
Re: SampleEffectUnit and auval
- Subject: Re: SampleEffectUnit and auval
- From: William Stewart <email@hidden>
- Date: Mon, 11 Oct 2004 11:37:04 -0700
I believe the versioning is a problem with the component manager's cacheing
(if you remove the sym-link and log-out it should be fixed)
As for the rest of the debug statements - this is expected. The validator
tries to do a lot of "bad" things to your AU and what you are seeing is the
AU correctly identifying errors.
Bill
On 11/10/04 10:17 AM, "Eric Eizenman" <email@hidden> wrote:
> Hi All,
>
> When defining [OTHER_CFLAGS], DEBUG=1 in the development style of the
> SampleEffectUnit, the AU doesn't pass auval (see log). It also has all
> sort of warnings. I know that a lot of people are using the
> SampleEffectUnit as a template to their own AU's, so I wonder if this
> is the expected behavior. The 'Component Version mismatch' is probably
> an easy fix, but I'm not sure about the warnings.
> I used X-Code 1.5 and CoreAudio 1.3.2 on OS 10.3.5
> Did anyone tackled it before ?
>
> ------------------------------------------------------------------
> Eric Eizenman
> BIAS Inc., Audio Software Development
> ------------------------------------------------------------------
>
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> *
> AU Validation Tool
> Version: 1.1.1b11
> Copyright 2003-4, Apple Computer, Inc.
>
> Specify -h (-help) for command options
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> *
>
> --------------------------------------------------
> VALIDATING AUDIO UNIT: 'aufx' - 'Pass' - 'Acme'
> --------------------------------------------------
> Manufacturer String: Acme Inc
> AudioUnit name: SampleEffectUnit
> Component Info: Acme Inc's favorite audio effect
> Component Version: 2.0.0 (0x20000)
>
> * * PASS
> --------------------------------------------------
> TESTING OPEN TIMES:
> COLD:
> Time to open AudioUnit: 7.641ms
> WARM:
> Time to open AudioUnit: 0.068ms
> ERROR: Component Version mismatch: Res Vers = 0x20000, Comp Vers =
> 0xFFFFFFFF
>
> * * FAIL
> --------------------------------------------------
> VERIFYING DEFAULT SCOPE FORMATS:
> Input Scope Bus Configuration:
> Default Bus Count:1
> Default Format: AudioStreamBasicDescription: 2 ch, 44100 Hz,
> 'lpcm' (0x0000002B) 32-bit big-endian float, deinterleaved
>
> Output Scope Bus Configuration:
> Default Bus Count:1
> Default Format: AudioStreamBasicDescription: 2 ch, 44100 Hz,
> 'lpcm' (0x0000002B) 32-bit big-endian float, deinterleaved
>
> * * PASS
> --------------------------------------------------
> VERIFYING REQUIRED PROPERTIES:
> VERIFYING PROPERTY: Sample Rate
> PASS
> VERIFYING PROPERTY: Stream Format
> PASS
> VERIFYING PROPERTY: Maximum Frames Per Slice
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 372, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 372, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 372, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 372, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> PASS
> VERIFYING PROPERTY: Last Render Error
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 378, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 378, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 378, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 378, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> PASS
>
> * * PASS
> --------------------------------------------------
> VERIFYING RECOMMENDED PROPERTIES:
> VERIFYING PROPERTY: Latency
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 357, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 357, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 357, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 357, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> PASS
> VERIFYING PROPERTY: Tail Time
> WARNING: Recommended Property is not supported
>
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 363, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 363, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 363, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 363, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> VERIFYING PROPERTY: Bypass Effect
> PASS
>
> * * PASS
> --------------------------------------------------
> VERIFYING OPTIONAL PROPERTIES:
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 393, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 393, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 393, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 393, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> VERIFYING PROPERTY Host Callbacks
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 431, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 431, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 431, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> DebugAssert: Third Party Client: inScope == kAudioUnitScope_Global
> InvalidScope [line 431, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
> PASS
>
> * * PASS
> --------------------------------------------------
> VERIFYING SPECIAL PROPERTIES:
>
> VERIFYING CUSTOM UI
> Carbon View Components Available: 0
>
> Cocoa Views Available: 0
>
> DEFAULT PRESET: 0, Name: Preset One
>
> HAS FACTORY PRESETS
> ID: 0 Name: Preset One
> ID: 1 Name: Preset Two
>
> VERIFYING CLASS INFO
> PASS
>
> TESTING HOST CALLBACKS
> PASS
>
> * * PASS
> --------------------------------------------------
> PUBLISHED PARAMETER INFO:
>
> # # # 4 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
>
> Parameter ID:1
> Name: Parameter Two
> Parameter Type: Seconds
> Values: Minimum = 0.000000, Default = 50.000000, Maximum = 75.000000
> Flags: Readable, Writable
> -parameter PASS
>
> Parameter ID:2
> Name: Indexed Parameter
> Parameter Type: Indexed
> Values: Minimum = 4.000000, Default = 5.000000, Maximum = 6.000000
> Flags: Readable, Writable
> Parameter has Value Strings
> Num Strings = 3
> Value: 4, String: First Value
> Value: 5, String: Second Value
> Value: 6, String: Third Value
> -parameter PASS
>
> Parameter ID:3
> Name: Parameter Four
> Parameter Type: Decibels
> Values: Minimum = -, Default = 0.000000, Maximum = 6.000000
> Flags: Values Have Strings, Readable, Writable
> -parameter PASS
>
> Testing that parameters retain value across reset and initialization
> PASS
>
> * * PASS
> --------------------------------------------------
> FORMAT TESTS:
>
> Input/Output Channel Handling:
> 1-1 1-2 1-4 1-5 2-2 2-4 2-5 4-4 4-5
> 5-5 5-2 6-6 8-8
> X X X
> X X X
> DebugAssert: Third Party Client: IsStreamFormatWritable(inScope,
> inElement) NotWritable [line 713, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
>
> * * PASS
> --------------------------------------------------
> RENDER TESTS:
> Input Format: AudioStreamBasicDescription: 2 ch, 44100 Hz, 'lpcm'
> (0x0000002B) 32-bit big-endian float, deinterleaved
> Output Format: AudioStreamBasicDescription: 2 ch, 44100 Hz, 'lpcm'
> (0x0000002B) 32-bit big-endian float, deinterleaved
> Render Test at 512 frames
> Slicing Render Test at 64 frames
> PASS
>
> Set Sample Rate:
> Input Format: AudioStreamBasicDescription: 2 ch, 48000 Hz, 'lpcm'
> (0x0000002B) 32-bit big-endian float, deinterleaved
> Output Format: AudioStreamBasicDescription: 2 ch, 48000 Hz, 'lpcm'
> (0x0000002B) 32-bit big-endian float, deinterleaved
> Render Test at 64
> Render Test at 128
> Render Test at 137
> Render Test at 4096
> Render Test at 512
> PASS
>
> 1 Channel Test:
> In and Out Format: AudioStreamBasicDescription: 1 ch, 48000 Hz,
> 'lpcm' (0x0000002B) 32-bit big-endian float, deinterleaved
> Render Test at 512 frames
> PASS
>
> Checking connection semantics:
> Connection format:
> AudioStreamBasicDescription: 2 ch, 48000 Hz, 'lpcm' (0x0000002B)
> 32-bit big-endian float, deinterleaved
> PASS
> DebugAssert: Third Party Client:
> kAudioUnitErr_TooManyFramesToProcess[line 1286, file
> /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp]
>
> Checking parameter setting
> Using AudioUnitSetParameter
> Using AudioUnitScheduleParameter
> PASS
>
> * * PASS
> --------------------------------------------------
> AU VALIDATION FAILED: CORRECT THE ERRORS ABOVE.
> --------------------------------------------------
>
> AU Validation has exited with status 255.
>
> _______________________________________________
> 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
--
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
__________________________________________________________________________
_______________________________________________
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