diff options
author | orion <orion@FreeBSD.org> | 2003-02-26 14:38:19 +0000 |
---|---|---|
committer | orion <orion@FreeBSD.org> | 2003-02-26 14:38:19 +0000 |
commit | 06a137fb233d32ee4886afd7e3a5eb9d0557609b (patch) | |
tree | 18b311bf9c2572eef7bb2588168712aa0b105e47 /sys/dev | |
parent | cdfe62aafbb441acdb1e2168a9d9e599976128c7 (diff) | |
download | FreeBSD-src-06a137fb233d32ee4886afd7e3a5eb9d0557609b.zip FreeBSD-src-06a137fb233d32ee4886afd7e3a5eb9d0557609b.tar.gz |
Replicate OSS behaviour when rate settings fails.
PR: kern/26563
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sound/pcm/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c index 8c139b0..60af109 100644 --- a/sys/dev/sound/pcm/channel.c +++ b/sys/dev/sound/pcm/channel.c @@ -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; } |