Electron APIs / recorder / AudioDeviceSettings
Configuration options for an audio input/output device used during recording or streaming.
These settings control audio volume, channel configuration, balance, track routing, and timing behavior.
See
AudioTracks
Extended by
Properties
Property | Type | Description |
---|
balance? | number | Stereo balance between left and right channels. Accepts values from 0.0 (left only) to 1.0 (right only). Default 0.5 (centered) |
mono? | boolean | Forces the audio signal to mono. When enabled, both left and right channels are mixed into a single channel. Default false |
tracks? | number | Audio track routing for the device. Specifies which audio tracks this device should be recorded into. Default All tracks |
use_device_timing? | 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? | number | Volume level of the audio device. Accepts values from 0.0 (muted) to 20.0 . Default 1.0 (100%) |