AU broken (Validation on 10.7)


#1

I build my AUs on XCODE 3 on 10.6. (latest updates, latest tip) (on XCode 4 its even not building, please don’t give me the advice to use that :wink:

If i run the JUCE-Demo plugin (build with XCODE3, 10.6, out-of-the-box, latest updates, latest tip) with auval -v on OS 10.7 (or Logic 9 validation on 10.7), i get this error.

This is a NEW issue, it wasn’t there last time i build for mac (June 2012)

[code]--------------------------------------------------
VALIDATING AUDIO UNIT: ‘aumf’ - ‘Jcdm’ - ‘RawM’

Manufacturer String: Raw Material Software
AudioUnit Name: Juce Demo Plugin
Component Version: 1.0.0 (0x10000)

    • PASS

TESTING OPEN TIMES:
COLD:
JUCE v2.0.38
FATAL ERROR: OpenAComponent: result: -1,0xFFFFFFFF
[/code]


#2

I believe this will solve your problem: http://rawmaterialsoftware.com/viewtopic.php?f=8&t=10649#p62820
Btw Jules I think this patch is worth adding to the tip (xcode post build script removes plist items that indicate new AU format if building with xcode 3)
Cheers! Yair


#3

thanks for the hint, i removed the this by hand, now the validation succeeds.

I get a lot of other messages now, but i have to check first, maybe is just because i use the debug build.


minimac:Contents christian$ auval -v aumf Jcdm RawM

  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
         AU Validation Tool
         Version: 1.6.1a1 
          Copyright 2003-2007, Apple, Inc. All Rights Reserved.

         Specify -h (-help) for command options
  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

--------------------------------------------------
VALIDATING AUDIO UNIT: 'aumf' - 'Jcdm' - 'RawM'
--------------------------------------------------
Manufacturer String: Raw Material Software
AudioUnit Name: Juce Demo Plugin
Component Version: 1.0.0 (0x10000)
Component's Bundle Version: 1.0.0

* * PASS
--------------------------------------------------
TESTING OPEN TIMES:
COLD:
JUCE v2.0.38
Time to open AudioUnit:         55.847 ms
WARM:
Time to open AudioUnit:         0.048  ms
FIRST TIME:
Time for initialization:        0.027 ms

* * PASS
--------------------------------------------------
VERIFYING DEFAULT SCOPE FORMATS:
Input Scope Bus Configuration:
 Default Bus Count:1
    Default Format: AudioStreamBasicDescription:  1 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved

Output Scope Bus Configuration:
 Default Bus Count:1
    Default Format: AudioStreamBasicDescription:  1 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved

* * PASS
--------------------------------------------------
VERIFYING REQUIRED PROPERTIES:
  VERIFYING PROPERTY: Sample Rate
ca_require: GetElement(inScope, inElement) != NULL InvalidElement /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:509
ca_require: GetElement(inScope, inElement) != NULL InvalidElement /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:509
    PASS
  VERIFYING PROPERTY: Stream Format
ca_require: GetElement(inScope, inElement) != NULL InvalidElement /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:509
ca_require: GetElement(inScope, inElement) != NULL InvalidElement /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:509
    PASS
  VERIFYING PROPERTY: Maximum Frames Per Slice
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:380
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:380
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:380
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:380
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:380
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:380
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:380
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:380
    PASS
  VERIFYING PROPERTY: Last Render Error
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:386
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:386
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:386
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:386
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:386
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:386
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:386
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:386
    PASS

* * PASS
--------------------------------------------------
VERIFYING RECOMMENDED PROPERTIES:
  VERIFYING PROPERTY: Latency
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:365
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:365
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:365
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:365
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:365
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:365
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:365
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:365
    PASS
  VERIFYING PROPERTY: Tail Time
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:371
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:371
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:371
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:371
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:371
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:371
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:371
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:371
    PASS
  VERIFYING PROPERTY: Bypass Effect
    PASS

* * PASS
--------------------------------------------------
VERIFYING OPTIONAL PROPERTIES:
  VERIFYING PROPERTY Supported Number of Channels
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:393
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:393
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:393
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:393
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:393
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:393
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:393
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:393
    PASS
  VERIFYING PROPERTY Host Callbacks
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:477
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:477
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:477
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:477
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:477
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:477
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:477
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:477
    PASS
  VERIFYING PROPERTY Instrument Count
    PASS
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUMIDIBase.cpp:88
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUMIDIBase.cpp:88
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUMIDIBase.cpp:88
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUMIDIBase.cpp:88
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUMIDIBase.cpp:88
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUMIDIBase.cpp:88
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUMIDIBase.cpp:88
ca_require: inScope == kAudioUnitScope_Global InvalidScope /Developer/Extras/CoreAudio/AudioUnits/AUPublic/OtherBases/AUMIDIBase.cpp:88

* * PASS
--------------------------------------------------
VERIFYING SPECIAL PROPERTIES:

VERIFYING CUSTOM UI
Carbon View Components Available: 1
  auvw Jcdm RawM  -  Raw Material Software: Juce Demo Plugin View
    PASS

Cocoa Views Available: 1
  JUCE_AUCocoaViewClass_48a88917e0b6dae7
    PASS

HAS FACTORY PRESETS

VERIFYING CLASS INFO
    PASS

TESTING HOST CALLBACKS
    PASS

* * PASS
--------------------------------------------------
PUBLISHED PARAMETER INFO:

# # # 2 Global Scope Parameters:
Parameter ID:0
Name: gain
Parameter Type: Generic
Values: Minimum = 0.000000, Default = 0.000000, Maximum = 1.000000
Flags: Readable, Writable 
  -parameter PASS

Parameter ID:1
Name: delay
Parameter Type: Generic
Values: Minimum = 0.000000, Default = 0.000000, Maximum = 1.000000
Flags: Readable, Writable 
  -parameter PASS

Testing that parameters retain value across reset and initialization
  PASS

* * PASS
--------------------------------------------------
FORMAT TESTS:

Reported Channel Capabilities (explicit):
      [1, 1]  [2, 2]  

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                                         X                                                                       
ca_require: IsStreamFormatWritable(inScope, inElement) NotWritable /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:805

* * 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
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
Render Test at 4096 frames, sample rate: 11025 Hz
Render Test at 512 frames, sample rate: 44100 Hz
  PASS

1 Channel Test:
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
ca_require: inFramesToProcess <= mMaxFramesPerSlice TooManyFrames /Developer/Extras/CoreAudio/AudioUnits/AUPublic/AUBase/AUBase.cpp:1371
  from AU (0x810001): 'aumf' 'Jcdm' 'RawM', render err: -10874
  PASS

Checking parameter setting
Using AudioUnitSetParameter
Using AudioUnitScheduleParameter
  PASS

Test MIDI
  PASS

* * PASS
--------------------------------------------------
AU VALIDATION SUCCEEDED.
--------------------------------------------------


#4

Hey! Can someone please help me? The Rawmaterials link is dead and I have no idea how to make f**ing Logic 9 not ignore my component. AU Lab accepts my component, but logic does not. I’d really need this to work, otherwise I can’t code and test for my bachelor thesis - so any help is much appreciated.


#5

Did you see my answer in your other thread?

Rail