mirror of
https://github.com/RustAudio/rodio
synced 2025-03-04 15:07:18 +00:00
Fix min_rate mistype
This commit is contained in:
parent
b74581632d
commit
28fde9808b
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ fn find_working_output_stream(
|
|||
.into_iter()
|
||||
.flat_map(|sf| {
|
||||
let max_rate = sf.max_sample_rate;
|
||||
let min_rate = sf.max_sample_rate;
|
||||
let min_rate = sf.min_sample_rate;
|
||||
let mut formats = vec![sf.clone().with_max_sample_rate()];
|
||||
if HZ_44100 < max_rate && HZ_44100 > min_rate {
|
||||
formats.push(sf.clone().with_sample_rate(HZ_44100))
|
||||
|
|
Loading…
Add table
Reference in a new issue