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>
pull/8/head
OBATA Akio 5 years ago committed by TDE Gitea
parent 35e5ff35cf
commit a2b21b9cf6

@ -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())

Loading…
Cancel
Save