Re: SampleEffectUnit and auval
Re: SampleEffectUnit and auval
- Subject: Re: SampleEffectUnit and auval
- From: William Stewart <email@hidden>
- Date: Mon, 11 Oct 2004 13:09:19 -0700
One other thing to bare in mind, is that you have to define the DEBUG flag
in a couple of places for the Development Build Style:
(1) as a CFLAG (-DDEBUG=1)
(2) For Rez... I had some trouble (I should be able to get this to work
by include $(OTHER_REZFLAGS) in the Dev Build Style, but it kept
complaining, so I just grabbed the entire definition of the rez flags from
the project's target settings and copied them (then added the debug define):
OTHER_REZFLAGS
-I /Developer/Examples/CoreAudio/AudioUnits/AUPublic/AUBase/ -I
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Carb
onCore.framework/Versions/A/Headers -d DEBUG=1
Then (you also have to remove the sym link and add it back in, but don't
need to log out), with this defined properly in both places, it gets through
auvalidation just fine.
Bill
> On 11/10/04 11:37 AM, "William Stewart" <email@hidden> wrote:
>
>> 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]
--
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