Copyright © 2006-2018 MultiMedia Soft

MixerGetDesc method

Previous pageReturn to chapter overviewNext page



Retrieves the friendly description of the requested mixer. This method is very useful when you have to fill a combo box with the friendly names of the available mixers.


The total number of available mixers can be obtained using the MixerGetCount method.


IMPORTANT NOTE ABOUT THE WINDOWS VERSION: This method is only intended for usage when the operating system is Windows XP or older versions; for Windows Vista and higher versions it's recommended using methods exposed by the CoreAudioDevices COM object.





[Visual Basic]

control.MixerGetDesc (

nIndex as Integer

) as String



LPCTSTR control.MixerGetDesc (

short nIndex









Number representing the zero-based index of the mixer whose friendly name must be retrieved


Return value






Empty string

The value of the nIndex parameter was out of range. Use the value returned by the MixerGetCount method in order to know how many mixers are currently installed on the system.

Valid string

The string containing the friendly description of the requested mixer.