Browse Source

Make sure that the legacy AU rez file is correct for midi effect AUs

tags/2021-05-28
hogliux 9 years ago
parent
commit
6810791645
3 changed files with 7 additions and 33 deletions
  1. +0
    -29
      examples/PlugInSamples/Arpeggiator/Builds/MacOSX/Info-Shared_Code.plist
  2. +1
    -1
      examples/PlugInSamples/Arpeggiator/JuceLibraryCode/AppConfig.h
  3. +6
    -3
      extras/Projucer/Source/Project/jucer_Project.cpp

+ 0
- 29
examples/PlugInSamples/Arpeggiator/Builds/MacOSX/Info-Shared_Code.plist View File

@@ -1,29 +0,0 @@
<?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>
<dict>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleName</key>
<string>Arpeggiator</string>
<key>CFBundleDisplayName</key>
<string>Arpeggiator</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<key>CFBundleVersion</key>
<string>1.0.0</string>
<key>NSHumanReadableCopyright</key>
<string>ROLI Ltd.</string>
<key>NSHighResolutionCapable</key>
<true/>
</dict>
</plist>

+ 1
- 1
examples/PlugInSamples/Arpeggiator/JuceLibraryCode/AppConfig.h View File

@@ -296,7 +296,7 @@
#define JucePlugin_VSTCategory kPlugCategEffect
#endif
#ifndef JucePlugin_AUMainType
#define JucePlugin_AUMainType kAudioUnitType_Effect
#define JucePlugin_AUMainType 'aumi'
#endif
#ifndef JucePlugin_AUSubType
#define JucePlugin_AUSubType JucePlugin_PluginCode


+ 6
- 3
extras/Projucer/Source/Project/jucer_Project.cpp View File

@@ -1121,9 +1121,12 @@ String Project::getAUMainTypeString()
if (s.isEmpty())
{
if (getPluginIsSynth().getValue()) s = "kAudioUnitType_MusicDevice";
else if (getPluginWantsMidiInput().getValue()) s = "kAudioUnitType_MusicEffect";
else s = "kAudioUnitType_Effect";
// Unfortunately, Rez uses a header where kAudioUnitType_MIDIProcessor is undefined
// Use aumi instead.
if (getPluginIsMidiEffectPlugin().getValue()) s = "'aumi'";
else if (getPluginIsSynth().getValue()) s = "kAudioUnitType_MusicDevice";
else if (getPluginWantsMidiInput().getValue()) s = "kAudioUnitType_MusicEffect";
else s = "kAudioUnitType_Effect";
}
return s;


Loading…
Cancel
Save