return the sample rate set instead of 0. oops. mpg123 should now work.

This commit is contained in:
Cameron Grant 2000-01-10 01:59:12 +00:00
parent dbf94fd693
commit 4ee074718b

View File

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