StreamVolumeIsSliding method |
|
Remarks
Verifies if a volume sliding is actually occurring on the given player.
The volume sliding may have been started by:
• | a call to the StreamVolumeSlide or StreamVolumeSlideEx methods. |
• | a call to the PlaySound or StopSound methods when the volume smoothing has been predisposed through calls to the StreamVolumeSmoothingSet or StreamVolumeSmoothingSetEx methods. |
• | during a volume automation procedure. |
• | during an automatic fade performed through the embedded automatic fader. |
Syntax
[Visual Basic] control.StreamVolumeIsSliding ( nPlayer as Integer ) as Boolean |
[C++] BOOL control.StreamVolumeIsSliding ( short nPlayer ); |
Parameter |
Description |
|
|
nPlayer |
Number representing the zero-based index of the involved player |
Return value
Mnemonic constant |
Value |
Meaning |
BOOL_FALSE |
0 |
Volume sliding is not being performed |
BOOL_TRUE |
1 |
Volume sliding is being performed |