Merged in 441-fix-check-samplerate (pull request #533)

alsa: Fix sample rate negotiation (#441)

Approved-by: Trek Hopton
This commit is contained in:
David Sutton 2024-02-29 04:54:52 +00:00
commit 391db6b210
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ func (d *ALSA) open() error {
var rate int var rate int
foundRate := false foundRate := false
for r := range rates { for _, r := range rates {
if r < int(d.SampleRate) { if r < int(d.SampleRate) {
continue continue
} }