ScnLib_MonitorVolumeLevel()

ScnLib_MonitorVolumeLevel()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) void __stdcall ScnLib_MonitorVolumeLevel(BOOL bEnable);
C# [DllImport("ScnLib.dll")] public static extern void ScnLib_MonitorVolumeLevel(bool Enable);
Basic Public Declare Sub ScnLib_MonitorVolumeLevel Lib "ScnLib.dll" (ByVal Enable As Boolean)
Delphi procedure ScnLib_MonitorVolumeLevel(Enable: LongBool); stdcall; external 'ScnLib.dll';
  • Description
    Turn on or off the volume level monitoring feature.

  • Parameters
    • Enable [in]
      TRUE: Turn on.
      FALSE: Turn off.
  • Return Value
    None.

  • Remarks
    Use this function to turn on or off the volume level monitoring feature. With this feature turned on, ScnLib_GetAudioSourceVolumeLevel() can be used to obtain the real-time volume level of the specified audio source. This data can be visualized to display the audio source's signal state, such as in a real-time volume meter. By default, this volume level monitoring feature is turned off. To check whether the volume level monitoring feature is currently turned on or off, call ScnLib_IsMonitoringVolumeLevel().

  • See Also
    ScnLib_IsMonitoringVolumeLevel()
    ScnLib_GetAudioSourceVolumeLevel()

Try the SDK for FREE SDK APIs overview