Replicate OSS behaviour when rate settings fails.
PR: kern/26563
This commit is contained in:
parent
ef6b48deb9
commit
a4273e83bc
@ -856,7 +856,7 @@ chn_setspeed(struct pcm_channel *c, int speed)
|
||||
r = chn_tryspeed(c, speed);
|
||||
if (r) {
|
||||
DEB(printf("Failed to set speed %d falling back to %d\n", speed, oldspeed));
|
||||
chn_tryspeed(c, oldspeed);
|
||||
r = chn_tryspeed(c, oldspeed);
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user