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 class section.
For details about video clips rendering refer to the How to play video files through DirectShow tutorial.
Syntax
[Visual Basic] Public Function AudioMultiStreamGetName ( nPlayerIndex as Int16, nStreamIndex as Int16 ) as String |
[C#] public string AudioMultiStreamGetName ( Int16 nPlayerIndex, Int16 nStreamIndex ); |
[C++] public: string AudioMultiStreamGetName ( Int16 nPlayerIndex, Int16 nStreamIndex ); |
Parameter |
Description |
|
|
nPlayerIndex |
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. |