muh macos support

This commit is contained in:
David Skoland 2018-12-26 20:04:11 +01:00
parent 68145616f5
commit 2a43d56772
3 changed files with 17 additions and 0 deletions

View File

@ -512,6 +512,11 @@ bool AOOptionsDialog::needs_default_audiodev()
{ {
return false; return false;
} }
#elif defined __APPLE__
bool AOOptionsDialog::needs_default_audiodev()
{
return false;
}
#else #else
#error This operating system is not supported. #error This operating system is not supported.
#endif #endif

View File

@ -3508,6 +3508,11 @@ void Courtroom::load_bass_opus_plugin()
{ {
BASS_PluginLoad("libbassopus.so", 0); BASS_PluginLoad("libbassopus.so", 0);
} }
#elif defined __APPLE__
void Courtroom::load_bass_opus_plugin()
{
BASS_PluginLoad("libbassopus.dylib", 0);
}
#else #else
#error This operating system is unsupported for bass plugins. #error This operating system is unsupported for bass plugins.
#endif #endif

View File

@ -50,6 +50,13 @@ QString get_hdid()
return "gxcpz32sa9fnwic92mfbs0"; return "gxcpz32sa9fnwic92mfbs0";
} }
#elif defined __APPLE__
QString get_hdid()
{
//hdids are broken at this point anyways
return "just a mac passing by";
}
#else #else
#error This operating system is unsupported for hardware functions. #error This operating system is unsupported for hardware functions.