Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
SetMixerMasterVolume method 
 
Remarks 
 
Changes the system master volume for the given mixer: changing this volume will affect the volume also for other applications currently using the given mixer inside the system. 
 
The current volume can be retrieved using the GetMixerMasterVolume method. 
 
The number of mixers currently installed on the system can be retrieved using the GetMixersCount method. A friendly description of the mixer can be retrieved using the GetMixerDesc method.  
 
 
Syntax 
 
[Visual Basic] 
Public Function SetMixerMasterVolume
nIndex as Int16
nValue as Int16 
 
[C#] 
public enumErrorCodes SetMixerMasterVolume
Int16 nIndex, 
Int16 nValue 
);
 
[C++] 
public: enumErrorCodes SetMixerMasterVolume
Int16 nIndex, 
Int16 nValue 
);
 
 
Parameter
Description
 
 
nIndex
Number representing the zero-based index of the mixer whose master volume must be set
nValue
The new volume value in the range from 0 to 100.
 
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred (see the LastError property for further error details)
enumErrorCodes.NOERROR (0)
The method call was successful
 
 
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents