summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/base/encoderbase.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-06 21:05:23 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-06 21:13:39 +0100
commit6bc737cb1dd5170b6d893d98e9c37bd2701954c2 (patch)
treef9abab8b072220281784bca68f3c9f7100a67ac3 /rbutil/rbutilqt/base/encoderbase.cpp
parent07604d62ab375e5c4f42bd05704ace608600c478 (diff)
downloadrockbox-6bc737cb1dd5170b6d893d98e9c37bd2701954c2.tar.gz
rockbox-6bc737cb1dd5170b6d893d98e9c37bd2701954c2.tar.bz2
rockbox-6bc737cb1dd5170b6d893d98e9c37bd2701954c2.zip
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
Diffstat (limited to 'rbutil/rbutilqt/base/encoderbase.cpp')
-rw-r--r--rbutil/rbutilqt/base/encoderbase.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/rbutil/rbutilqt/base/encoderbase.cpp b/rbutil/rbutilqt/base/encoderbase.cpp
index 90d7292b3a..fe45eee49b 100644
--- a/rbutil/rbutilqt/base/encoderbase.cpp
+++ b/rbutil/rbutilqt/base/encoderbase.cpp
@@ -58,10 +58,6 @@ EncoderBase* EncoderBase::getEncoder(QObject* parent,QString encoder)
EncoderBase* enc;
if(encoder == "lame")
{
-#if defined(Q_OS_MACX)
- /* currently not on OS X */
- enc = new EncoderExe(encoder, parent);
-#else
enc = new EncoderLame(parent);
if (!enc->configOk())
{
@@ -71,7 +67,6 @@ EncoderBase* EncoderBase::getEncoder(QObject* parent,QString encoder)
enc = new EncoderExe(encoder, parent);
}
-#endif
return enc;
}
else // rbspeex is default