From 4ee074718be3f847292eea11bbdaa50751fa673c Mon Sep 17 00:00:00 2001 From: Cameron Grant Date: Mon, 10 Jan 2000 01:59:12 +0000 Subject: [PATCH] return the sample rate set instead of 0. oops. mpg123 should now work. --- sys/dev/sound/pci/neomagic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/sound/pci/neomagic.c b/sys/dev/sound/pci/neomagic.c index 0b5afcbe6d5..8bfba53d324 100644 --- a/sys/dev/sound/pci/neomagic.c +++ b/sys/dev/sound/pci/neomagic.c @@ -355,7 +355,7 @@ nmchan_setspeed(void *data, u_int32_t speed) struct sc_chinfo *ch = data; ch->spd = speed; - return nm_setch(ch); + return nm_setch(ch)? 0 : ch->spd; } static int