diff --git a/src/driver/audiodec/oggdec.cpp b/src/driver/audiodec/oggdec.cpp index b28a7aa4d..a494abd37 100644 --- a/src/driver/audiodec/oggdec.cpp +++ b/src/driver/audiodec/oggdec.cpp @@ -30,6 +30,7 @@ #include #endif +#include #include #include #include @@ -90,7 +91,11 @@ CBaseDec::RetCode COggDec::Decoder(FILE *in, const int OutputFd, State* const st SetMetaData(&vf, meta_data); +#if __BYTE_ORDER == __LITTLE_ENDIAN || USE_TREMOR audioDecoder->PrepareClipPlay(ov_info(&vf,0)->channels, ov_info(&vf,0)->rate, 16, 1); +#else + audioDecoder->PrepareClipPlay(ov_info(&vf,0)->channels, ov_info(&vf,0)->rate, 16, 0); +#endif /* up and away ... */ mSlotSize = MAX_OUTPUT_SAMPLES * 2 * ov_info(&vf,0)->channels;