Repository navigation
|
This works OK: ma_sound_set_fade_in_pcm_frames(pSound, 0, 1.0, 44100);But when the sound first have set volume to zero, the fade is not started. ma_sound_set_volume(pSound, 0);
ma_sound_set_fade_in_pcm_frames(pSound, -1, 1.0, 44100);It is most probably because zero volume sounds are skipped from processing, but still, should not it be supported without manually setting the volume to some almost zero value? |
Answered by
mackron
Sep 1, 2023
Replies: 2 comments
|
Hm... it looks that the fader has separate volume values and the volume set |
0 replies
8000
Comment options
|
This is intended behaviour. The two are decoupled like you discovered. There's no built-in way to smoothly change the volume itself. (Converting this one to a discussion.) |
0 replies
Answer selected by
Oldes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is intended behaviour. The two are decoupled like you discovered. There's no built-in way to smoothly change the volume itself.
(Converting this one to a discussion.)