mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-07 23:51:14 +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:
parent
b579b4754c
commit
e3a8ffade4
@ -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.
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user