diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2010-05-08 15:35:46 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2010-05-08 15:35:46 +0000 |
commit | becca50a1aedd8b5fde673c36ffa1dd72463f682 (patch) | |
tree | a199599e645f3c8d874cc1e399205d5a8d29c22f /usr.bin/aucat/sock.c | |
parent | a463431f89ea7d80f5af11e9be263eae14ec49d2 (diff) |
prime play buffers as soon as the device is opened, otherwise a
midi client could start it with empty buffers, in turn hurting
audio clients.
Diffstat (limited to 'usr.bin/aucat/sock.c')
-rw-r--r-- | usr.bin/aucat/sock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/aucat/sock.c b/usr.bin/aucat/sock.c index f3b50405dc2..396783ab1de 100644 --- a/usr.bin/aucat/sock.c +++ b/usr.bin/aucat/sock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sock.c,v 1.46 2010/05/02 11:54:27 ratchov Exp $ */ +/* $OpenBSD: sock.c,v 1.47 2010/05/08 15:35:45 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -542,7 +542,7 @@ sock_attach(struct sock *f, int force) * start the device (dev_getpos() and dev_attach() must * be called on a started device */ - dev_wakeup(1); + dev_wakeup(); /* * get the current position, the origin is when |