summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-05-07 07:07:52 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-05-07 07:07:52 +0000
commit79cb7f333378691472158805b2e62315adcd3266 (patch)
tree5ec39fe50be7ad3a5c917109254a904608ea97d0 /usr.bin
parentd19bca75ed2af3e8c7c6dad7cd3d2836f2377311 (diff)
don't prime audio buffers if the device is only started to serve
as clock source for MIDI clients.
Diffstat (limited to 'usr.bin')
-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;
}