Copyright © 2005-2008 MultiMedia Soft 
Return to Table of contents  
 
MixerGetMasterVolume method 
 
Remarks 
 
Retrieves the master volume for the given mixer. 
 
The returned volume can be modified using the MixerSetMasterVolume 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] 
Public Function MixerGetMasterVolume
nIndex as Int16 
) as Int16
 
[C#] 
public Int16 MixerGetMasterVolume
Int16 nIndex 
);
 
[C++] 
public: Int16 MixerGetMasterVolume
Int16 nIndex 
);
 
 
 
Parameter
Description
 
 
nIndex
Number representing the zero-based index of the mixer whose master volume must be retrieved
 
 
Return value 
 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
>= 0
The current master volume in the range from 0 to 100
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2005-2008 MultiMedia Soft 
Return to Table of contents