diff options
Diffstat (limited to 'macosx/plugins/DFSound/macsrc')
| -rw-r--r-- | macosx/plugins/DFSound/macsrc/PluginController.h | 4 | ||||
| -rw-r--r-- | macosx/plugins/DFSound/macsrc/PluginController.m | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/macosx/plugins/DFSound/macsrc/PluginController.h b/macosx/plugins/DFSound/macsrc/PluginController.h index 804108c5..6479c8ba 100644 --- a/macosx/plugins/DFSound/macsrc/PluginController.h +++ b/macosx/plugins/DFSound/macsrc/PluginController.h @@ -7,7 +7,11 @@ void DoAbout(); long DoConfiguration(); void LoadConfiguration(); +#ifdef USEOPENAL +#define PluginController NetSfPeopsALPluginController +#else #define PluginController NetSfPeopsSPUPluginController +#endif @interface PluginController : NSWindowController { diff --git a/macosx/plugins/DFSound/macsrc/PluginController.m b/macosx/plugins/DFSound/macsrc/PluginController.m index 19b30134..b5f9fb7b 100644 --- a/macosx/plugins/DFSound/macsrc/PluginController.m +++ b/macosx/plugins/DFSound/macsrc/PluginController.m @@ -2,7 +2,11 @@ #include "stdafx.h" #include "externals.h" +#ifdef USEOPENAL +#define APP_ID @"net.sf.peops.ALPlugin" +#else #define APP_ID @"net.sf.peops.SPUPlugin" +#endif #define PrefsKey APP_ID @" Settings" static PluginController *pluginController; |
