summaryrefslogtreecommitdiffstats
path: root/tdeioslave
diff options
context:
space:
mode:
authorOBATA Akio <[email protected]>2019-04-10 15:29:20 +0900
committerTDE Gitea <[email protected]>2019-04-11 00:59:00 +0000
commita2b21b9cf6125f091d83cd99c91d57fa77f1c917 (patch)
tree15419ed79434d3d453d621c4c2b54d701e6617d3 /tdeioslave
parent35e5ff35cf0a26eef2a614bfdcf95206bb96ccbb (diff)
downloadtdemultimedia-a2b21b9cf6125f091d83cd99c91d57fa77f1c917.tar.gz
tdemultimedia-a2b21b9cf6125f091d83cd99c91d57fa77f1c917.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 <[email protected]>
Diffstat (limited to 'tdeioslave')
-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())