mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
Removed unsuccessful attempt to fix sndfile unaligned access
This reverts commit 8a36bf5c09
.
This commit is contained in:
parent
aac6e65842
commit
f73f42c4a6
1 changed files with 1 additions and 4 deletions
|
@ -163,10 +163,7 @@ size_t SndFileDecoder::read(char *buffer, size_t bytes)
|
|||
while(total < frames)
|
||||
{
|
||||
size_t todo = MIN<size_t>(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;
|
||||
|
|
Loading…
Reference in a new issue