diff options
| author | David Skoland <davidskoland@gmail.com> | 2019-01-06 12:14:00 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2019-01-06 12:14:00 +0100 |
| commit | 3965a847c211e3b1930a53dfe95f1136da781e88 (patch) | |
| tree | 2a095b5089de1cd041de225134ccd0deba049eed | |
| parent | ce459e3bc107ababb25b74062ea43a9dbdf7e490 (diff) | |
fixed opus plugin load for macOS
| -rw-r--r-- | src/courtroom.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index f4b484b7..598747c4 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -3511,7 +3511,10 @@ void Courtroom::load_bass_opus_plugin() #elif defined __APPLE__ void Courtroom::load_bass_opus_plugin() { - BASS_PluginLoad("libbassopus.dylib", 0); + QString libpath = ao_app->get_base_path() + "../../Frameworks/libbassopus.dylib"; + QByteArray ba = libpath.toLocal8Bit(); + + BASS_PluginLoad(ba.data(), 0); } #else #error This operating system is unsupported for bass plugins. |
