ZD Screen Recorder SDK API – ScnLib_SetAudioBitrate()

ScnLib_SetAudioBitrate()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) void __stdcall ScnLib_SetAudioBitrate(int nKbps);
C# [DllImport("ScnLib.dll")] public static extern void ScnLib_SetAudioBitrate(int Kbps);
Basic Public Declare Sub ScnLib_SetAudioBitrate Lib "ScnLib.dll" (ByVal Kbps As Int32)
Delphi procedure ScnLib_SetAudioBitrate(Kbps: Integer); stdcall; external 'ScnLib.dll';
  • Description
    Set the audio bitrate.

  • Parameters
    • Kbps [in]
      The audio bitrate, quantified in Kbps (kilobits per second). Refer to the remarks for a list of valid values.
  • Return Value
    None.

  • Remarks
    Use this function to set the audio bitrate. Acceptable values for the audio bitrate are 32kbps, 40kbps, 48kbps, 56kbps, 64kbps, 80kbps, 96kbps, 112kbps, 128kbps, 160kbps, 192kbps, 224kbps, 256kbps, and 320kbps. A higher bitrate typically leads to better quality audio but results in larger file sizes. Conversely, a lower bitrate implies more compression, which may lead to noticeable quality loss.

    The default audio bitrate is set at 128kbps. Note that altering the audio bitrate during the recording process is not permitted. To check the current audio bitrate setting, call ScnLib_GetAudioBitrate().

  • See Also
    ScnLib_GetAudioBitrate()

Shopping Cart
  • Your cart is empty.
Scroll to Top