DVD Player ActiveX Control

SetAudioStream

 

Set the specific audio stream.

Public Function SetAudioStream( _
  ByVal iStreamIndex As Integer
) as Bool

 

Parameter
iStreamIndex
the index of audio stream.

Return Value
True - Successful, otherwise false.
 
Example

   

Visual Basic Syntax
iCount = DVDPlayer1.GetAudioStreamCount()
ListAudiolang.Clear
For i = 0 To iCount - 1
ListAudiolang.AddItem DVDPlayer1.GetAudioStreamName(i)
Next
DVDPlayer1.SetAudioStream ListAudioLang.ListIndex