VideoPlayer.AudioRendererDsDeviceGetDesc method |
|
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 object section.
For details about video clips rendering refer to the How to play video files through DirectShow tutorial.
Syntax
[Visual Basic] control.VideoPlayer.AudioRendererDsDeviceGetDesc ( nIndex as Integer ) as String |
[C++] LPCTSTR control.VideoPlayer.AudioRendererDsDeviceGetDesc ( short 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. |