Skip to main content

AudioGeneralSettings

Electron APIs / recorder / AudioGeneralSettings

General configuration for audio recording and playback behavior.

Defines global audio settings such as sample rate, speaker layout, and system-level audio features. These settings help tailor the audio experience for performance, quality, and platform-specific compatibility.

Extended by

Properties

PropertyTypeDescription
disableAudioDucking?booleanDisables Windows' automatic audio ducking behavior. This is a Windows-only setting. When enabled, the system will not reduce the volume of other apps during voice communications or high-priority sounds. Default true
lowLatencyAudioBuffering?booleanEnables or disables low-latency audio buffering. When enabled, this reduces audio delay but may increase CPU usage.
sampleRate?48000 | 44100The audio sampling rate to be used. Supported values are 48000 and 44100. Default 48000
speakerLayer?kSpeakerLayoutSpeaker output layout configuration. Determines the audio channel distribution (e.g., Stereo, 5.1, Mono). Default 'SPEAKERS_STEREO'