ZD Screen Recorder SDK API – ScnLib_GetAudioSourceVolume()

ScnLib_GetAudioSourceVolume()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) int __stdcall ScnLib_GetAudioSourceVolume(BOOL bPlayback);
C# [DllImport("ScnLib.dll")] public static extern int ScnLib_GetAudioSourceVolume(bool Playback);
Basic Public Declare Function ScnLib_GetAudioSourceVolume Lib "ScnLib.dll" (ByVal Playback As Boolean) As Int32
Delphi function ScnLib_GetAudioSourceVolume(Playback: LongBool): Integer; stdcall; external 'ScnLib.dll';
  • Description
    Check the current volume of an audio source.

  • Parameters
    • Playback [in]
      TRUE: The playback audio source such as speakers and headphones.
      FALSE: The recording audio source such as microphones and line-ins.
  • Return Value
    The current volume of an audio source, ranging from 0 to 100, where 100 represents normal volume and 0 indicates mute.

  • Remarks
    Use this function to check the current volume of an audio source set via ScnLib_SetAudioSourceVolume().

  • See Also
    ScnLib_SelectAudioSourceDevice()
    ScnLib_SetAudioSourceVolume()

Shopping Cart
  • Your cart is empty.
Scroll to Top