summaryrefslogtreecommitdiff
path: root/usr.bin/aucat/dev.h
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2008-11-09 16:26:08 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2008-11-09 16:26:08 +0000
commit8fdd47f372326a790dcf725c8cdcfeecbde8aa22 (patch)
tree724858b4bac54a8befd1ee8cb1d42047ded14761 /usr.bin/aucat/dev.h
parent938cca8cc8a2a22f3a8c02c1b034d373103d3017 (diff)
make aucat(1) stop automatically the audio(1) device if it's idle. This
way, when in server mode, it consumes no CPU if there are no clients. Later, this will allow to start aucat(1) at session or system startup.
Diffstat (limited to 'usr.bin/aucat/dev.h')
-rw-r--r--usr.bin/aucat/dev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/aucat/dev.h b/usr.bin/aucat/dev.h
index 7e11bdca93d..74b29d78205 100644
--- a/usr.bin/aucat/dev.h
+++ b/usr.bin/aucat/dev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev.h,v 1.4 2008/11/07 21:01:15 ratchov Exp $ */
+/* $OpenBSD: dev.h,v 1.5 2008/11/09 16:26:07 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -37,6 +37,7 @@ void dev_sync(struct abuf *, struct abuf *);
void dev_attach(char *,
struct abuf *, struct aparams *, unsigned,
struct abuf *, struct aparams *, unsigned);
+void dev_clear(void);
extern struct devops *devops, devops_sun, devops_aucat;