Fixed WavPack floating point input handling
parent
87198d04c0
commit
63b8f55dcf
|
@ -170,8 +170,7 @@ int32_t WriteBytesProc(void *ds, void *data, int32_t bcount)
|
|||
if(f > 1.0) { f = 1.0; }
|
||||
if(f < -1.0) { f = -1.0; }
|
||||
|
||||
// *alias32++ = (int32_t) (f * 2147483647.0);
|
||||
*alias32++ = (int32_t) (f * 32767.0);
|
||||
*alias32++ = (int32_t) (f * 2147483647.0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue