Platform SDK: Broadcast Architecture

BPCVid.Volume

The Volume property sets or retrieves a value that controls the loudness of the multimedia stream presented on the Video control. Visual Basic syntax is shown.

object.Volume [ = lLoudness ]

Parts

object
Object expression that resolves to a BPCVid or BPCDeviceBase object.
lLoudness
Long that specifies the audio volume. The possible values range from –10,000 to 0. The default value, zero, represents full volume. The value –10,000 represents minimum volume.

Remarks

Volume 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 volume using the BPCVid.Volume property rather than the BPCDeviceBase.Volume 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.Balance