Feat: crash bugfixes
All checks were successful
Deploy Website / deploy (push) Has been skipped

This commit is contained in:
2026-03-03 13:10:22 +01:00
parent cf1d2be140
commit 16d6d76422
6 changed files with 27 additions and 14 deletions

View File

@@ -320,7 +320,7 @@ pub fn build_stream(
let sample_rate = default_config.sample_rate() as f32;
let max_channels = doux::audio::max_output_channels(&device);
let channels = config.channels.min(max_channels);
let channels = config.channels.min(max_channels).max(2);
let host_name = doux::audio::preferred_host().id().name().to_string();
let is_jack = host_name.to_lowercase().contains("jack");