diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2014-11-21 09:05:39 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2014-11-21 09:05:39 +0000 |
commit | c823e1192151afa738d5c7ae23c28c4628f44b52 (patch) | |
tree | 746cfa95b60c5c394c3d9a4a46c841b97ab6527b /usr.bin/sndiod | |
parent | bdb0aaee68a0607c593bdd69fc57e8917cb68a9f (diff) |
Don't forget to transmit the xrun attribute in GETPAR messages. Found
by stu@, thanks.
Diffstat (limited to 'usr.bin/sndiod')
-rw-r--r-- | usr.bin/sndiod/sock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/sndiod/sock.c b/usr.bin/sndiod/sock.c index 619ac71afc4..a6527b15dcd 100644 --- a/usr.bin/sndiod/sock.c +++ b/usr.bin/sndiod/sock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sock.c,v 1.13 2014/06/02 07:54:23 ratchov Exp $ */ +/* $OpenBSD: sock.c,v 1.14 2014/11/21 09:05:38 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org> * @@ -1140,6 +1140,7 @@ sock_execmsg(struct sock *f) AMSG_INIT(m); m->cmd = htonl(AMSG_GETPAR); m->u.par.legacy_mode = s->mode; + m->u.par.xrun = s->xrun; m->u.par.bits = s->par.bits; m->u.par.bps = s->par.bps; m->u.par.sig = s->par.sig; |