Hi, sorry if I missed an existing thread about this - didn’t find one.
I’m following the docs to do fade in/out on streaming sounds for music transitions:
var samples = SecondsToSamples(duration);
AssertOk(channel.getVolume(out var currentVolume));
AssertOk(channel.getDSPClock(out _, out var parentclock));
AssertOk(channel.addFadePoint(parentclock, currentVolume));
AssertOk(channel.addFadePoint(parentclock + samples, volume));
This generally seems to work, however it seems like if the stream channel’s volume reaches 0, the channel becomes replaced with a virtual silence DSP (visible in the core profiler) and the DSP clock stops ticking, so my attempts to fade back up from 0 don’t succeed.
Is this a correct understanding of what’s going on? Is there a workaround other than never fading volume down to 0?