Movie Player ActiveX Control

SetMPEG1AudioChannel

 

Change the MPEG1 Audio Channel. This method only valid when you use MPEG Audio Decoder. You may use GetCurGraphFilterName and GetCurGraphFilterName methods to list all filters in your graph, then you will know whether MPEG Audio Decoder is loaded.

Public Function SetMPEG1AudioChannel( _
  ByVal iValue As Integer
)as Boolean

 

Parameter
iValue
0 - right channel
1 -left channel
2 -both channel

Return Value
Boolean
True - successful, False - Failed.


Example

   

Visual Basic Syntax
MoviePlayer1.SetMPEG1AudioChannel 1