Audio Capture ActiveX Control

SetWaveWndOffset

 

Set the offset of left or right channel of WaveForm.

Public Function SetWaveWndOffset(
     ByVal iChannel As Integer, _
     ByVal iOffsetValue As Integer
    )

 

Parameter
iChannel
 0 - Left Channel, 1 - Right Channel.

iOffsetValue
 0 - Middle position. if the iOffsetValue  > 0, the direction is down, If the iOffsetVale < 0 , the direction is up.


No Return Value

Example

   

Visual Basic Syntax
AudioCapture1.ShowWaveForm=True
AudioCapture1.SetWaveWndCaption "My WaveForm Window"
AudioCapture1.SetWaveWndOwner me.hWnd
AudioCapture1.SetWaveWndPopup false
AudioCapture1.SetWaveWndStyle 1
AudioCapture1.SetWaveWndPos 418, 0, 400,300
AudioCapture1.SetWaveWndColor 0, RGB(255,0,0)
AudioCapture1.SetWaveWndColor 1, RGB(0,255,0)
AudioCapture1.SetWaveWndOffSet 0 ,-50
AudioCapture1.SetWaveWndDivisor 12
AudioCapture1.WMVProfile=0
AudioCapture1.OutputType =1
AudioCapture1.AudioFileName = "c:\test.wma"
AudioCapture1.Start