Copyright © 2005-2018 MultiMedia Soft

FadingVolumeChanged event

Previous pageReturn to chapter overviewNext page



During a cross-fading, performed by the embedded Automatic Fader, or during a volume sliding operation, performed through call to the StreamVolumeSlide or StreamVolumeSlideEx methods, allows to know in real time the volume of a certain player: this event is generated every 15 milliseconds and not for any single/minimal change of the volume level.


This event is also generated during a fading session performed after a call to the PlaySound method and after a call to the StopSound method when the StreamVolumeSmoothingSet or StreamVolumeSmoothingSetEx methods have been applied.


For further details about the use of the embedded Automatic Fader, refer to the How to use the Automatic Fader section.

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.





[Visual Basic]

Public Event FadingVolumeChanged As FadingVolumeChangedEventHandler



public event FadingVolumeChangedEventHandler FadingVolumeChanged;



public: __event FadingVolumeChangedEventHandler FadingVolumeChanged;



Event Data


The event handler receives an argument of type FadingEventArgs having the following parameters:







Number representing the zero-based index of the player that fired the event


The player's current volume