Copyright © 2001-2011 MultiMedia Soft

FadingVolumeChanged event

Previous pageReturn to chapter overviewNext page

Remarks

 

During a cross-fading performed by the embedded Automatic Fader, allows to know in real time the volume of a certain player.

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 SetSmoothingTimeLength method has been applied.

 

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

 

 

Syntax

 

[Visual Basic]

FadingVolumeChanged (

ByVal nPlayer as Integer,

ByVal fVolume As single

)


 

[C++]

void FadingVolumeChanged (

short nPlayer,

float fVolume

);


 

 

Parameter

Description

 

 

nPlayer

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

fVolume

The player's current volume