VideoPlayer.AudioMultiStreamGetName method |
|
Remarks
Obtains the friendly name of the given audio stream.
The total number of available audio streams can be obtained using the VideoPlayer.AudioMultiStreamGetCount 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.AudioMultiStreamGetName ( nPlayer as Integer, nStreamIndex as Long ) as String |
[C++] LPCTSTR control.VideoPlayer.AudioMultiStreamGetName ( short nPlayer, long nStreamIndex ); |
Parameter |
Description |
|
|
nPlayer |
Number representing the zero-based index of the player that will use the video player. |
nStreamIndex |
Number representing the zero-based index of the audio stream. Use the value returned by the VideoPlayer.AudioMultiStreamGetCount method in order to know how many audio streams are available. |
Return value
Value |
Meaning |
|
|
Empty string |
The value of the nStreamIndex parameter was out of range. |
Valid string |
The string containing the friendly name of the requested DirectShow filter. |