1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-07 15:49:42 +02:00

Apply patch by Sophia Poirier [dfx] which enables Audacity to load audio effect plug-ins which support both sampled and midi input (e.g. use of midi controllers to set effect parameters). This fixes bug 443.

This commit is contained in:
richardash1981 2011-08-21 14:17:53 +00:00
parent b579b4754c
commit e3a8ffade4

View File

@ -14,12 +14,12 @@
#include "../EffectManager.h"
#include "AudioUnitEffect.h"
void LoadAudioUnits()
void LoadAudioUnitsOfType(OSType inAUType)
{
ComponentDescription desc;
Component component;
desc.componentType = kAudioUnitType_Effect; //'aufx'
desc.componentType = inAUType;
desc.componentSubType = 0;
desc.componentManufacturer = 0;
desc.componentFlags = 0;
@ -42,6 +42,12 @@ void LoadAudioUnits()
}
}
void LoadAudioUnits()
{
LoadAudioUnitsOfType(kAudioUnitType_Effect); //'aufx'
LoadAudioUnitsOfType(kAudioUnitType_MusicEffect); //'aumf'
}
// Indentation settings for Vim and Emacs and unique identifier for Arch, a
// version control system. Please do not modify past this point.
//