Skip to content
Permalink
Browse files

Merge PR #3450: OpusCodec: add "libopus.so.0" (Linux) and "opus.dll" …

…(Windows) to the library names
  • Loading branch information...
davidebeatrici committed Jul 8, 2018
2 parents e3ad955 + fbe0638 commit e981c61e3537f51084d595af2b589a57775a5f7b
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/mumble/OpusCodec.cpp
@@ -28,11 +28,13 @@ OpusCodec::OpusCodec() {
alternatives << QString::fromLatin1("libopus.dylib");
alternatives << QString::fromLatin1("opus.dylib");
#elif defined(Q_OS_UNIX)
alternatives << QString::fromLatin1("libopus.so.0");
alternatives << QString::fromLatin1("libopus0.so");
alternatives << QString::fromLatin1("libopus.so");
alternatives << QString::fromLatin1("opus.so");
#else
alternatives << QString::fromLatin1("opus0.dll");
alternatives << QString::fromLatin1("opus.dll");
#endif
foreach(const QString &lib, alternatives) {
qlOpus.setFileName(MumbleApplication::instance()->applicationVersionRootPath() + QLatin1String("/") + lib);

0 comments on commit e981c61

Please sign in to comment.
You can’t perform that action at this time.