Copyright © 2001-2010 MultiMedia Soft

MixerGetWaveVolume method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the wave volume for the given mixer. Wave volume is not supported by Windows Vista.

 

The returned volume can be modified using the MixerSetWaveVolume method.

 

The number of mixers currently installed on the system can be retrieved using the MixerGetCount method. A friendly description of the mixer can be retrieved using the MixerGetDesc method.

 

 

Syntax

 

[Visual Basic]

control.MixerGetWaveVolume (

nIndex as Integer

) as Integer


 

[C++]

short control.MixerGetWaveVolume (

short nIndex

);


 

 

Parameter

Description

 

 

nIndex

Number representing the zero-based index of the mixer whose wave volume must be retrieved

 

 

Return value

 

Value

Meaning

 

 

-1

An error occurred (see the LastError property for further error details)

>= 0

The current wave volume in the range from 0 to 100