Copyright © 2005-2018 MultiMedia Soft

VideoPlayer.AudioRendererDsDeviceGetDesc method

Previous pageReturn to chapter overviewNext page



Obtains the friendly name of a specific DirectSound device recognized by DirectShow as a valid audio renderer.

The total number of available DirectSound devices can be obtained using the VideoPlayer.AudioRendererDsDeviceGetCount method.


For further details about the use of the embedded video player see the VideoPlayer class section.

For details about video clips rendering refer to the How to play video files through DirectShow tutorial.





[Visual Basic]

Public Function AudioRendererDsDeviceGetDesc (

nIndex as Int16

) as String



public string AudioRendererDsDeviceGetDesc (

Int16 nIndex




public: string AudioRendererDsDeviceGetDesc (

Int16 nIndex









Number representing the zero-based index of the DirectSound device 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 VideoPlayer.AudioRendererDsDeviceGetCount method in order to know how many output devices are currently installed on the system.

Valid string

The string containing the friendly description of the requested DirectSound device.