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:
parent
a96163df2a
commit
23b6450e62
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue