VideoPlayer.AudioMultiStreamGetCount method |
|
Remarks
Obtains the number of audio streams available inside the loaded video.
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 AudioMultiStreamGetCount ( nPlayerIndex as Int16 ) as Int32 |
[C#] public Int32 AudioMultiStreamGetCount ( Int16 nPlayerIndex ); |
[C++] public: Int32 AudioMultiStreamGetCount ( Int16 nPlayerIndex ); |
Parameter |
Description |
|
|
nPlayerIndex |
Number representing the zero-based index of the player that will use the video player. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to see the error code meaning |
>= 0 |
The number of available audio streams |