-
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? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hm... it looks that the fader has separate volume values and the volume set |
Beta Was this translation helpful? Give feedback.
-
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.) |
Beta Was this translation helpful? Give feedback.
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.)