mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 18:50:31 -04:00
return the sample rate set instead of 0. oops. mpg123 should now work.
This commit is contained in:
parent
dbf94fd693
commit
4ee074718b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue