diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2011-10-18 21:04:27 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2011-10-18 21:04:27 +0000 |
commit | 8b03c4eb99822e4555654d2f6fe0a0dcec2f5a6c (patch) | |
tree | 3f43c2baf75bf0f26d0df81d32cbeeb3b6d6fc6c /usr.bin | |
parent | fba91e4092f6ac0611824c8bc98074ae0c1212d6 (diff) |
keep the device closed by default (when not used)
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/aucat/aucat.1 | 6 | ||||
-rw-r--r-- | usr.bin/aucat/aucat.c | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/aucat/aucat.1 b/usr.bin/aucat/aucat.1 index aaac47ecd00..a0de98f0d48 100644 --- a/usr.bin/aucat/aucat.1 +++ b/usr.bin/aucat/aucat.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: aucat.1,v 1.89 2011/10/17 21:09:11 ratchov Exp $ +.\" $OpenBSD: aucat.1,v 1.90 2011/10/18 21:04:26 ratchov Exp $ .\" .\" Copyright (c) 2006 Alexandre Ratchov <alex@caoua.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 17 2011 $ +.Dd $Mdocdate: October 18 2011 $ .Dt AUCAT 1 .Os .Sh NAME @@ -85,7 +85,7 @@ If the flag is then it's automatically closed, allowing other programs to have direct access to the device, or the device to be disconnected. The default is -.Va on . +.Va off . .It Fl b Ar nframes The buffer size of the audio device in frames. A frame consists of one sample for each channel in the stream. diff --git a/usr.bin/aucat/aucat.c b/usr.bin/aucat/aucat.c index f86fcea1787..4031b37d1b3 100644 --- a/usr.bin/aucat/aucat.c +++ b/usr.bin/aucat/aucat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aucat.c,v 1.123 2011/10/18 18:40:32 ratchov Exp $ */ +/* $OpenBSD: aucat.c,v 1.124 2011/10/18 21:04:26 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -379,8 +379,10 @@ main(int argc, char **argv) hdr = HDR_AUTO; xrun = XRUN_IGNORE; vol = MIDI_MAXCTL; - hold = join = autovol = 1; + join = 1; mmc = 0; + hold = 0; + autovol = 1; bufsz = 0; round = 0; unit = 0; |