1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 16:49:41 +02:00

Sort of fix for bugs #665 and #460

This is more of a toleration than a fix since I can't
get any of the Waves plugins to display their custom views.
They do work in generic view however, so I've put in a 
temporary hack to force all Waves plugins to use the 
generic view.
This commit is contained in:
lllucius@gmail.com 2014-12-07 02:24:50 +00:00
parent b7aeef5ec9
commit 01ca7c71de

View File

@ -1788,6 +1788,21 @@ bool AudioUnitEffect::PopulateUI(wxWindow *parent)
mIsCarbon = false;
mIsGeneric = false;
// This is a temporary hack to allow usage of effects from Waves.
// I don't know why, but they simply do not display. Could be that
// they are "prefer" 64-bit and/or Cocoa apps. I don't want to spend
// too much time trying to get them to work though since I suspect
// we'll have better luck once we upgrade to wx3 and become Cocoa-based.
//
// So, we'll use sort of a blacklist to force them to use the generic
// view. They do seem to work fine when using the generic view, but
// some will cause Audacity to crash at termination. It's not harmful,
// since it is after all files have been saved.
if (mVendor == wxT("Waves"))
{
mUseGUI = false;
}
// Create the AU editor
HIViewRef auView = NULL;
if (mUseGUI)