具体怎么用啊?我试了一下,没有效果,Volume的值一直是-600,????

解决方案 »

  1.   

    mediaplayer1.vloumn=?
    mediaplayer1.balance=?
      

  2.   

    注意MediaPlayer的父类,别调用错了
      

  3.   

    Balance
    This property specifies the stereo balance.Compatibility: Windows Media Player, ActiveMovieMediaPlayer.Balance [ = lBalance ]
    Parameters
    lBalance 
    Long value from –10,000 to 10,000 indicating the stereo balance. This property is read/write with a default value of zero. 
    Res
    The default value of zero indicates that the sound is balanced equally between the left and right speakers. A value of –10,000 indicates that all sound is going to the left speaker. A value of 10,000 indicates that all sound is going to the right speaker.
    ----------------------------------------------------------------------------------Volume
    This property specifies the volume, in hundredths of decibels.Compatibility: Windows Media Player, ActiveMovieMediaPlayer.Volume [ = lVolume ]
    Parameters
    lVolume 
    Long value specifying the volume, in hundredths of decibels. This property is read/write with a default value of –600. 
    Res
    Possible values for this property are from –10,000 to zero. Zero specifies full volume and –10,000 specifies no volume.Not all devices support 10,000 discrete steps of volume.
      

  4.   

    mep1.settings.volume对啊.如果是你用的控件是7.0以上的版本就得先调用settings这个父类.
    mep1.settings.volume这个的值范围在0-100之间.Balance=这个的值也在0-100之间.