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
Property | Type | Description |
---|---|---|
disableAudioDucking? | boolean | Disables 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? | boolean | Enables or disables low-latency audio buffering. When enabled, this reduces audio delay but may increase CPU usage. |
sampleRate? | 48000 | 44100 | The audio sampling rate to be used. Supported values are 48000 and 44100 . Default 48000 |
speakerLayer? | kSpeakerLayout | Speaker output layout configuration. Determines the audio channel distribution (e.g., Stereo, 5.1, Mono). Default 'SPEAKERS_STEREO' |