TVideoGrabber.SetVUMeterSetting

Prev

Next

TVideoGrabber

Methods

 




































































































Used to adjust the VU-Meter settings.


Declaration
function SetVUMeterSetting (ChannelIndex: LongWord; VUMeterSetting: TVUMeterSetting; Value: LongWord): Boolean;


bool __fastcall SetVUMeterSetting (TVUMeterSetting VUMeterSetting, unsigned int Value)


Function SetVUMeterSetting (Setting As TxVUMeterSetting, Value as Long) As Boolean

Description

Used to adjust the VU-Meter settings, of the TVUMeterSetting type.

vu_Handle : sets the Handle of the panel or image control on which the VUMeter will be displayed (0 disables the previous handle).
vu_WarningPercent : percentage of the level above which the vu_WarningColor is used
vu_PeakPercent : percentage of the level above which the vu_PeakColor is used
vu_BkgndColor : color of the VU-meter background
vu_NormalColor : color of the normal level (green by default)
vu_WarningColor : color of the warning level (above the vu_WarningPercent)
vu_PeakColor : color of the peak level (above the vu_PeakPercent)
vu_TickSize : size of ticks in the bargraph VU-Meter
vu_TickInterval : interval between ticks in the bargraph VU-Meter
vu_NeedleThickness : thickness of the needle in the analog VU-Meter

See the "Audio levels and VU-Meters" chapter that explains how to use the VU-Meters.


See Also
SetVuMeter_Enabled