summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2019-04-10 15:29:20 +0900
committerSlávek Banko <slavek.banko@axis.cz>2019-04-11 02:59:49 +0200
commitb6ae5c8687b722b0d8e5febc373be97e7391d055 (patch)
tree5202cf25ac87dea70513b06d573779b943effed7
parent6b55b7c1c490267c8dc7c6eff4bd0275b73e8213 (diff)
downloadtdemultimedia-b6ae5c8687b722b0d8e5febc373be97e7391d055.tar.gz
tdemultimedia-b6ae5c8687b722b0d8e5febc373be97e7391d055.zip
Remove unsed platform endian detection
Used part had been commented out over 8 years ago. Variety of include files are not sufficient and may cause build failure because of missing header file. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit a2b21b9cf6125f091d83cd99c91d57fa77f1c917)
-rw-r--r--tdeioslave/audiocd/plugins/lame/encoderlame.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/tdeioslave/audiocd/plugins/lame/encoderlame.cpp b/tdeioslave/audiocd/plugins/lame/encoderlame.cpp
index 0b3787ad..f7535f5f 100644
--- a/tdeioslave/audiocd/plugins/lame/encoderlame.cpp
+++ b/tdeioslave/audiocd/plugins/lame/encoderlame.cpp
@@ -18,13 +18,6 @@
#include <config.h>
-#if defined(__OpenBSD__) || defined(__FreeBSD__)
-#include <sys/types.h>
-#include <sys/endian.h>
-#else
-#include <endian.h>
-#endif
-
#include "encoderlame.h"
#include "encoderlameconfig.h"
#include "audiocd_lame_encoder.h"
@@ -228,11 +221,7 @@ long EncoderLame::readInit(long /*size*/){
// -x bitswap
// -r raw/pcm
// -s 44.1 (because it is raw you have to specify this)
-// #if __BYTE_ORDER == __LITTLE_ENDIAN
-// *(d->currentEncodeProcess) << "lame" << "--verbose" << "-x" << "-r" << "-s" << "44.1";
-// #else
*(d->currentEncodeProcess) << "lame" << "--verbose" << "-r" << "-s" << "44.1";
-// #endif
*(d->currentEncodeProcess) << args;
if(Settings::self()->id3_tag())