1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed a typo in recent commit to address an armeabi internal compiler bug

This commit is contained in:
hogliux 2017-03-08 10:57:28 +00:00
parent a96163df2a
commit 23b6450e62

View file

@ -1926,7 +1926,7 @@ long ov_read_filter(OggVorbis_File *vf,char *buffer,int length,
#ifdef ANDROID
float f = pcm[i][j];
f = (f <= 1.0f ? (f >= -1.0f ? f : -1.0f) : 1.0f);
val = vorbis_ftoi(f * 128.f);
val = vorbis_ftoi(f * 127.f);
#else
val=vorbis_ftoi(pcm[i][j]*128.f);
if(val>127)val=127;