Replicate OSS behaviour when rate settings fails.

PR:	kern/26563
This commit is contained in:
Orion Hodson 2003-02-26 14:38:19 +00:00
parent ef6b48deb9
commit a4273e83bc

View File

@ -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;
}