This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user