ScnLib_RecordAudioSource()

ScnLib_RecordAudioSource()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) void __stdcall ScnLib_RecordAudioSource(BOOL bPlayback, BOOL bEnable);
C# [DllImport("ScnLib.dll")] public static extern void ScnLib_RecordAudioSource(bool Playback, bool Enable);
Basic Public Declare Sub ScnLib_RecordAudioSource Lib "ScnLib.dll" (ByVal Playback As Boolean, ByVal Enable As Boolean)
Delphi procedure ScnLib_RecordAudioSource(Playback: LongBool; Enable: LongBool); stdcall; external 'ScnLib.dll';
  • Description
    Activate or deactivate an audio recording 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.
    • Enable [in]
      TRUE: To activate.
      FALSE: To deactivate.
  • Return Value
    None.

  • Remarks
    Use this function to activate or deactivate an audio recording source. You have the flexibility to activate only the playback audio source, only the recording audio source, or both simultaneously, at any point, even while a recording is ongoing. If both audio sources are active, their outputs will be combined. To choose a specific audio source device, call ScnLib_SelectAudioSourceDevice(). To check whether an audio source is currently active, call ScnLib_IsRecordAudioSource().

  • See Also
    ScnLib_SelectAudioSourceDevice()
    ScnLib_IsRecordAudioSource()

Try the SDK for FREE SDK APIs overview