Platform SDK: Broadcast Architecture

BPCVid.Balance

The Balance property sets or retrieves a value that controls the audio balance between left and right speakers for the multimedia stream currently presented by the Video control. Visual Basic syntax is shown.

object.Balance [ = lBalance]

Parts

object
Object expression that resolves to a BPCVid or BPCDeviceBase object.
lBalance
Long that specifies the balance value. The number must be in the range from –10,000 through 10,000. The default value is zero, indicating equal balance between left and right speakers.

Remarks

Balance is not stored locally in the BPCVid object. Instead, it is passed to the corresponding property in the BPCDeviceBase object for the current input device. Your application should set BPCVid.Balance rather than the BPCDeviceBase.Balance property. Otherwise, the Video control is not updated, and future behavior is undefined.

Requirements

  Windows NT/2000: Unsupported.
  Windows 95/98: Requires Windows 98.
  Header: Declared in vidsvr.odl.
  Import Library: Included as a resource in vid.ocx.

See Also

BPCDeviceBase, BPCVid, BPCVid.Volume