summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2010-05-07 07:07:51 +0000
committerratchov <ratchov@openbsd.org>2010-05-07 07:07:51 +0000
commit03afa3f0003224b183b9bd90b4a24f699fca7ca9 (patch)
tree2d4ce98b50a7cbf5038b365c30fe35ee2a1b95a4
parentAdd faith(4) to the list of clonable devices even though it is not enbaled (diff)
downloadwireguard-openbsd-03afa3f0003224b183b9bd90b4a24f699fca7ca9.tar.xz
wireguard-openbsd-03afa3f0003224b183b9bd90b4a24f699fca7ca9.zip
don't prime audio buffers if the device is only started to serve
as clock source for MIDI clients.
-rw-r--r--usr.bin/aucat/midi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/aucat/midi.c b/usr.bin/aucat/midi.c
index 33263118ec5..beaae02b15c 100644
--- a/usr.bin/aucat/midi.c
+++ b/usr.bin/aucat/midi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: midi.c,v 1.22 2010/05/06 06:18:37 ratchov Exp $ */
+/* $OpenBSD: midi.c,v 1.23 2010/05/07 07:07:51 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -697,7 +697,7 @@ ctl_trystart(struct aproc *p, int caller)
dbg_puts(" mtc fps\n");
}
#endif
- dev_wakeup(1);
+ dev_wakeup(0);
ctl_full(p);
return 1;
}