ZD Screen Recorder SDK API – ScnLib_SetMicrophoneDelay()

ScnLib_SetMicrophoneDelay()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) void __stdcall ScnLib_SetMicrophoneDelay(int nMilliseconds);
C# [DllImport("ScnLib.dll")] public static extern void ScnLib_SetMicrophoneDelay(int Milliseconds);
Basic Public Declare Sub ScnLib_SetMicrophoneDelay Lib "ScnLib.dll" (ByVal Milliseconds As Int32)
Delphi procedure ScnLib_SetMicrophoneDelay(Milliseconds: Integer); stdcall; external 'ScnLib.dll';
  • Description
    Set an estimated delay time for your microphone.

  • Parameters
    • Milliseconds [in]
      The estimated delay time for your microphone, expressed in milliseconds.
  • Return Value
    None.

  • Remarks
    In certain instances, a minor delay might occur when recording from some types of microphone devices, potentially leading to a mismatch between your voice audio and the video. Unfortunately, there isn’t a reliable method to check if your microphone experiences any latency. Therefore, you may need to use this function to set an estimated delay time for your microphone, allowing the SDK to compensate for it. The default microphone delay time is set to 0. This function should only be used if there is a noticeable delay in your microphone. To retrieve the current microphone delay time, call ScnLib_GetMicrophoneDelay().

  • See Also
    ScnLib_GetMicrophoneDelay()

Shopping Cart
  • Your cart is empty.
Scroll to Top