return the sample rate set instead of 0. oops. mpg123 should now work.
This commit is contained in:
parent
dbf94fd693
commit
4ee074718b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user