Skip to main content

AudioDeviceSettingsInfo

Electron APIs / recorder / AudioDeviceSettingsInfo

Extended audio device configuration that includes identifying information.

This interface inherits volume, balance, mono, and track settings from AudioDeviceSettings, and augments it with device identification details such as type, ID, and name.

See

  • AudioDeviceSettings
  • AudioDeviceType

Extends

Extended by

Properties

PropertyModifierTypeDescription
balance?publicnumberStereo balance between left and right channels. Accepts values from 0.0 (left only) to 1.0 (right only). Default 0.5 (centered)
idreadonlystringUnique identifier of the audio device.
mono?publicbooleanForces the audio signal to mono. When enabled, both left and right channels are mixed into a single channel. Default false
namereadonlystringFriendly device name or process name for application-based capture.
tracks?publicnumberAudio track routing for the device. Specifies which audio tracks this device should be recorded into. Default All tracks
typereadonlyAudioDeviceTypeSpecifies whether the device is an input or output device.
use_device_timing?publicbooleanEnables synchronization based on the device's internal timing. When enabled, audio timing will be based on the hardware device's clock. Default false
volume?publicnumberVolume level of the audio device. Accepts values from 0.0 (muted) to 20.0. Default 1.0 (100%)