mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 02:11:11 +02:00
neutrino: fix wavdec.cpp for big endian archs
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1542 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -108,8 +108,11 @@ CBaseDec::RetCode CWavDec::Decoder(FILE *in, int /*OutputFd*/, State* state, CAu
|
||||
return Status;
|
||||
}
|
||||
#endif
|
||||
audioDecoder->PrepareClipPlay(mChannels, meta_data->samplerate, mBitsPerSample, fmt == AFMT_S16_LE ? 1 : 0);
|
||||
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
audioDecoder->PrepareClipPlay(mChannels, meta_data->samplerate, mBitsPerSample, 1);
|
||||
#else
|
||||
audioDecoder->PrepareClipPlay(mChannels, meta_data->samplerate, mBitsPerSample, 0);
|
||||
#endif
|
||||
int actSecsToSkip = (*secondsToSkip != 0) ? *secondsToSkip : MSECS_TO_SKIP / 1000;
|
||||
unsigned int oldSecsToSkip = *secondsToSkip;
|
||||
int jumppos=0;
|
||||
|
Reference in New Issue
Block a user