Fix a bug with pitch shifting.
This bug results in the first period of samples being pitched at 1.0 regardless of whether or not ma_sound_set_pitch() had been called. What happens is that the first period is processed at a rate of 1.0, and then the pitch is applied after the fact. Then, the next period comes along and resamples at the pitch set by ma_sound_set_pitch() which results in a harsh sounding glitch.
Showing
Please register or sign in to comment