mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 08:44:04 +02:00
Fix compilation errors and warnings with the Android build.
This commit is contained in:
@@ -119,7 +119,7 @@ s32->s24 {
|
||||
# r = ((x + 2147483648) * 0.0000000004656612873077392578125) - 1
|
||||
s32->f32 {
|
||||
dbl t;
|
||||
add (dbl)t x 2147483648;
|
||||
add (dbl)t x 2147483648LL;
|
||||
mul t t 0.0000000004656612873077392578125;
|
||||
sub (flt)r t 1;
|
||||
}
|
||||
@@ -159,5 +159,5 @@ f32->s32 {
|
||||
clip c x;
|
||||
add c c 1;
|
||||
mul (lng)t c 2147483647.5;
|
||||
sub (int)r t 2147483648;
|
||||
sub (int)r t 2147483648LL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user