Hi Severino,
Is it possible to cancel an fade-out action after setting the StreamVolumeSmoothingSet-function?
I noticed that when setting
audioDjStudio1.StreamVolumeSmoothingSet(e.nPlayerIndex, False, 5000, enumVolumeCurves.VOLUME_CURVE_LINEAR, -1)
And calling
audioDjStudio1.StopSound(Player_A)
The player starts to fade out (=OK), but then when I want to stop the song during the fade-out time, I can call
audioDjStudio1.StreamVolumeSmoothingSet(e.nPlayerIndex, False, 0, enumVolumeCurves.VOLUME_CURVE_LINEAR, -1)
And calling 'StopSound' again, the song directly stops, but when I start the song again, the first Fade action is continuing to Fade-out.
Is there a way to cancel this Fade-out action?
Best regards
Patrick Vossen
Hello Patrick,
unfortunately this fade-out is already the result of a stop so there was no plan to make a stop of a stop available :-)
In this case you may consider using the CloseSound method that should stop everything, fades included.
Hope this help.
Kind Regards
Severino Delaurenti
MultiMedia Soft