ScnLib_ConfigureAudioSourceDevices()

ScnLib_ConfigureAudioSourceDevices()

Std EditionPro EditionMax EditionUltra Edition
C++ __declspec(dllimport) void __stdcall ScnLib_ConfigureAudioSourceDevices(BOOL bPlayback);
C# [DllImport("ScnLib.dll")] public static extern void ScnLib_ConfigureAudioSourceDevices(bool Playback);
Basic Public Declare Sub ScnLib_ConfigureAudioSourceDevices Lib "ScnLib.dll" (ByVal Playback As Boolean)
Delphi procedure ScnLib_ConfigureAudioSourceDevices(Playback: LongBool); stdcall; external 'ScnLib.dll';
  • Description
    Open the system' sound control panel to adjust settings for devices within a specified audio source category.

  • Parameters
    • Playback [in]
      TRUE: Within the playback audio source category, which typically includes audio output devices like speakers and headphones.
      FALSE: Within the recording audio source category, which typically includes audio input devices like microphones and line-ins.
  • Return Value
    None.

  • Remarks
    Use this function to open the system' sound control panel for configuring devices within a specified audio source category. This panel allows you to view the list of audio devices, enable or disable devices, set the system default device, modify audio volumes, and perform more intricate configurations of an audio source device. If you prefer not to create and maintain your own audio device list, it's beneficial to use these comprehensive system audio configuration panels. Subsequently, you can record from the system's default audio source device by passing an index of -1 to ScnLib_SelectAudioSourceDevice().

  • See Also
    ScnLib_GetAudioSourceDeviceCount()
    ScnLib_GetAudioSourceDeviceA/W()
    ScnLib_SelectAudioSourceDevice()
    ScnLib_GetSelectedAudioSourceDevice()

Try the SDK for FREE SDK APIs overview