rbutil: Enable use of libmp3lame on macOS.

Since we're now automatically falling back to using the command line
lame if we cannot load the library we can enable it on macOS as well.

Change-Id: I0df1bb4a011d019a340fe54f1db6fc4645f9081b
This commit is contained in:
Dominik Riebeling 2020-11-06 21:05:23 +01:00
parent 07604d62ab
commit 6bc737cb1d

View file

@ -58,10 +58,6 @@ EncoderBase* EncoderBase::getEncoder(QObject* parent,QString encoder)
EncoderBase* enc; EncoderBase* enc;
if(encoder == "lame") if(encoder == "lame")
{ {
#if defined(Q_OS_MACX)
/* currently not on OS X */
enc = new EncoderExe(encoder, parent);
#else
enc = new EncoderLame(parent); enc = new EncoderLame(parent);
if (!enc->configOk()) if (!enc->configOk())
{ {
@ -71,7 +67,6 @@ EncoderBase* EncoderBase::getEncoder(QObject* parent,QString encoder)
enc = new EncoderExe(encoder, parent); enc = new EncoderExe(encoder, parent);
} }
#endif
return enc; return enc;
} }
else // rbspeex is default else // rbspeex is default