auvaltool behavior - perhaps strange?
auvaltool behavior - perhaps strange?
- Subject: auvaltool behavior - perhaps strange?
- From: Steven Brawer <email@hidden>
- Date: Mon, 04 Jan 2016 22:07:23 -0500
OSX 10.11.2, XCode 7.2, MacBook Pro mid-2012, 8 GB.
I have developed in XCode an AU plugin (info.plist given below) named PRGA.component, put in directory HD/Library/Audio/Plug-Ins/Components.
I get different results with different auvaltool flags. The component is found with the -v flag, but not with others.
--------------------- My question is: What is going on here?
There is a factory function PRGAFactory (the factoryFunction in info.plist), it does not do anything (returns nullptr). There is no .exp or .r file.
The only header included in my .h file is AudioComponent.h, which is in the AudioUnit framework.
I am trying to find the plugin with the least possible functionality that will be seen by LogicPro. (A “Hello, World” AU plugin, as it were.) This is only my first step.
type = INST
subtype = ABCD
manufacturer=BRAW.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
auvaltool - a : does not list the component at all
>>>>>>>>>>>>>>>>>
auvaltool -s INST
result:
No plugins found of type: ‘INST’
>>>>>>>>>>>>>>>>
auvaltool -vt INST BRAW
result:
--------------------------------------------------
VALIDATING AUDIO UNIT: 'INST' - '00000000' - 'BRAW'
--------------------------------------------------
ERROR: Cannot get Component's Name strings
ERROR: Error from retrieving Component Version: -50
* * FAIL
--------------------------------------------------
TESTING OPEN TIMES:
FATAL ERROR: didn't find the component
>>>>>>>>>>>>>>>>>>>>>>
auvaltool -v INST ABCD BRAW
result:
--------------------------------------------------
VALIDATING AUDIO UNIT: 'INST' - 'ABCD' - 'BRAW'
--------------------------------------------------
Manufacturer String: BRAW
AudioUnit Name: PRGA
Component Version: 0.0.1 (0x1)
* * PASS
--------------------------------------------------
TESTING OPEN TIMES:
COLD:
FATAL ERROR: OpenAComponent: result: -1,0xFFFFFFFF
=======================================
So the component was found by auvaltool with the -v flag.
LogicPro does not find the component, even after I empty caches and empty trash.
========================================
Here is the info.plist, opened with TextEdit.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AudioComponents</key>
<array>
<dict>
<key>factoryFunction</key>
<string>PRGAFactory</string>
<key>manufacturer</key>
<string>BRAW</string>
<key>name</key>
<string>BRAW:PRGA</string>
<key>sandboxSafe</key>
<true/>
<key>subtype</key>
<string>ABCD</string>
<key>type</key>
<string>INST</string>
<key>version</key>
<real>1</real>
</dict>
</array>
<key>BuildMachineOSBuild</key>
<string>15C50</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>PRGA</string>
<key>CFBundleIdentifier</key>
<string>com.BRAW.au.PRGA</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>PRGA</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1</string>
<key>CFBundleSignature</key>
<string>BRAW</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>7C68</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>15C43</string>
<key>DTSDKName</key>
<string>macosx10.11</string>
<key>DTXcode</key>
<string>0720</string>
<key>DTXcodeBuild</key>
<string>7C68</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2016 BRAW. All rights reserved.</string>
</dict>
</plist>
Thank you
Steve
_______________________________________________
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