mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 22:53:55 +01:00
AudioUnits rework...
They now work on Yosemite.
AudioUnits with a custom Cocoa UI now display graphically
instead of reverting to the generic view
The Cocoa version of the generic view is now used when
needed...instead of the Carbon version.
The order of UI preference is Cocoa, Carbon, Generic,
unless force to Generic view user setting.
They now support realtime preview.
They also support dialog resizing as I found many that
scaled nicely (mostly Apple's).
Uses the new Effect format so now supports user and
factory presets.
NOTE: Be VERY critical when testing this as I've
never written Objective-C or Cocoa code
before!
This commit is contained in:
@@ -57,15 +57,6 @@
|
||||
#include "ChangeTempo.h"
|
||||
#endif
|
||||
|
||||
#ifdef USE_AUDIO_UNITS
|
||||
#include "audiounits/LoadAudioUnits.h"
|
||||
#endif
|
||||
|
||||
#ifdef USE_VAMP
|
||||
#include "vamp/LoadVamp.h"
|
||||
#endif
|
||||
|
||||
|
||||
void LoadEffects()
|
||||
{
|
||||
|
||||
@@ -270,12 +261,6 @@ void LoadEffects()
|
||||
|
||||
// Analyze menu
|
||||
em.RegisterEffect(new EffectFindClipping());
|
||||
|
||||
#ifdef USE_AUDIO_UNITS
|
||||
if (gPrefs->Read(wxT("/AudioUnits/Enable"), true)) {
|
||||
LoadAudioUnits();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void UnloadEffects()
|
||||
|
||||
Reference in New Issue
Block a user