From f73f42c4a646f256fadd14db3b19266025388885 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Tue, 2 May 2017 10:19:16 +0300 Subject: [PATCH] Removed unsuccessful attempt to fix sndfile unaligned access This reverts commit 8a36bf5c09e6ca2ea6bab336869cf2e9a4ccb1e4. --- src/sound/sndfile_decoder.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/sound/sndfile_decoder.cpp b/src/sound/sndfile_decoder.cpp index fd89aa2bcf..a46f0146b3 100644 --- a/src/sound/sndfile_decoder.cpp +++ b/src/sound/sndfile_decoder.cpp @@ -163,10 +163,7 @@ size_t SndFileDecoder::read(char *buffer, size_t bytes) while(total < frames) { size_t todo = MIN(frames-total, 64/SndInfo.channels); - - // libsndfile uses SSE optimization on Intel platform - // This requires proper read buffer alignment - alignas(16) float tmp[64]; + float tmp[64]; size_t got = (size_t)sf_readf_float(SndFile, tmp, todo); if(got < todo) frames = total + got;