Remove quadratic scaling from fadeInThread

This commit is contained in:
刘皓 2024-08-06 15:55:23 -04:00
parent 4a5328ba14
commit a7c59b13c6
No known key found for this signature in database
GPG key ID: 7901753DB465B711

View file

@ -362,9 +362,7 @@ void AudioStream::fadeInThread()
break;
}
/* Quadratic increase (not really the same as
* in RMVXA, but close enough) */
setVolume(FadeIn, prog*prog);
setVolume(FadeIn, prog);
unlockStream();