summaryrefslogtreecommitdiff
path: root/usr.bin/aucat/aucat.c
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2008-11-08 10:40:53 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2008-11-08 10:40:53 +0000
commita3087f8426a5d780d7d45b8fba030e024e9cfc23 (patch)
treed5ea25a11063ec341c41dab0f8bf75d7933f636c /usr.bin/aucat/aucat.c
parentdb4b8b2a0f9c2ddb369ec47cb36774c8e0490e68 (diff)
set the default device to /dev/audio for legacy mode.
From Thomas Pfaff <tpfaff _at_ agderlink.no> and tweaks from me
Diffstat (limited to 'usr.bin/aucat/aucat.c')
-rw-r--r--usr.bin/aucat/aucat.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/aucat/aucat.c b/usr.bin/aucat/aucat.c
index b41b43770cf..ad435887235 100644
--- a/usr.bin/aucat/aucat.c
+++ b/usr.bin/aucat/aucat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aucat.c,v 1.32 2008/11/07 21:01:15 ratchov Exp $ */
+/* $OpenBSD: aucat.c,v 1.33 2008/11/08 10:40:52 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -314,8 +314,7 @@ main(int argc, char **argv)
ivol = ovol = MIDI_TO_ADATA(127);
bufsz = 44100 * 4 / 15; /* XXX: use milliseconds, not frames */
- while ((c = getopt(argc, argv, "b:c:C:e:r:h:x:i:o:f:lu"))
- != -1) {
+ while ((c = getopt(argc, argv, "b:c:C:e:r:h:x:i:o:f:lu")) != -1) {
switch (c) {
case 'h':
hdr = opt_hdr();