Copyright © 2005-2019 MultiMedia Soft

VideoPlayer.AudioRendererDsDeviceGetDesc method

Previous pageReturn to chapter overviewNext page

Remarks

 

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.

 

 

Syntax

 

[Visual Basic]

Public Function AudioRendererDsDeviceGetDesc (

nIndex as Int16

) as String


 

[C#]

public string AudioRendererDsDeviceGetDesc (

Int16 nIndex

);


 

[C++]

public: string AudioRendererDsDeviceGetDesc (

Int16 nIndex

);


 

 

Parameter

Description

 

 

nIndex

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

 

 

Return value

 

Value

Meaning

 

 

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.