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
Property | Modifier | Type | Description |
---|---|---|---|
balance? | public | number | Stereo balance between left and right channels. Accepts values from 0.0 (left only) to 1.0 (right only). Default 0.5 (centered) |
id | readonly | string | Unique identifier of the audio device. |
mono? | public | boolean | Forces the audio signal to mono. When enabled, both left and right channels are mixed into a single channel. Default false |
name | readonly | string | Friendly device name or process name for application-based capture. |
tracks? | public | number | Audio track routing for the device. Specifies which audio tracks this device should be recorded into. Default All tracks |
type | readonly | AudioDeviceType | Specifies whether the device is an input or output device. |
use_device_timing? | public | boolean | Enables synchronization based on the device's internal timing. When enabled, audio timing will be based on the hardware device's clock. Default false |
volume? | public | number | Volume level of the audio device. Accepts values from 0.0 (muted) to 20.0 . Default 1.0 (100%) |