Annotation of src/usr.bin/aucat/aucat.1, Revision 1.15
1.15 ! jmc 1: .\" $OpenBSD: aucat.1,v 1.14 2007/03/21 08:12:59 jmc Exp $
1.1 kstailey 2: .\"
3: .\" Copyright (c) 1997 Kenneth Stailey. All rights reserved.
4: .\"
5: .\" This code is derived from software contributed to Berkeley by
6: .\" the Institute of Electrical and Electronics Engineers, Inc.
7: .\"
8: .\" Redistribution and use in source and binary forms, with or without
9: .\" modification, are permitted provided that the following conditions
10: .\" are met:
11: .\" 1. Redistributions of source code must retain the above copyright
12: .\" notice, this list of conditions and the following disclaimer.
13: .\" 2. Redistributions in binary form must reproduce the above copyright
14: .\" notice, this list of conditions and the following disclaimer in the
15: .\" documentation and/or other materials provided with the distribution.
16: .\" 3. All advertising materials mentioning features or use of this software
17: .\" must display the following acknowledgement:
18: .\" This product includes software developed by the University of
19: .\" California, Berkeley and its contributors.
20: .\" 4. Neither the name of the University nor the names of its contributors
21: .\" may be used to endorse or promote products derived from this software
22: .\" without specific prior written permission.
23: .\"
24: .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
25: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27: .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
28: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34: .\" SUCH DAMAGE.
35: .\"
36: .\"
1.15 ! jmc 37: .Dd $Mdocdate$
1.1 kstailey 38: .Dt AUCAT 1
1.5 aaron 39: .Os
1.1 kstailey 40: .Sh NAME
41: .Nm aucat
1.5 aaron 42: .Nd concatenate and play audio files
1.1 kstailey 43: .Sh SYNOPSIS
44: .Nm aucat
1.9 millert 45: .Op Fl f Ar device
1.14 jmc 46: .Ar
1.1 kstailey 47: .Sh DESCRIPTION
48: The
1.7 aaron 49: .Nm
1.9 millert 50: utility reads files sequentially, writing them to the specified device.
51: By default,
52: .Nm
53: plays audio through the
54: .Pa /dev/audio
55: device.
1.1 kstailey 56: The
57: .Ar file
1.8 aaron 58: operands are processed in command line order.
1.14 jmc 59: .Pp
1.8 aaron 60: If a Sun .au header is
1.7 aaron 61: detected it is skipped over and not copied to
62: .Pa /dev/audio .
1.13 uwe 63: If a Microsoft .wav header (RIFF) is detected it is interpreted to
64: select the right audio encoding for playback and the data chunk of the
65: file is copied to
66: .Pa /dev/audio ,
67: given that the audio driver directly supports the encoding.
68: Otherwise, the entire file is copied to
1.7 aaron 69: .Pa /dev/audio .
1.1 kstailey 70: .Pp
1.9 millert 71: The options are as follows:
1.12 jmc 72: .Bl -tag -width "-f deviceXX"
1.9 millert 73: .It Fl f Ar device
74: Specifies an alternate audio device.
75: .El
76: .Pp
1.14 jmc 77: .Ex -std aucat
1.9 millert 78: .Sh ENVIRONMENT
79: .Bl -tag -width AUDIODEVICE
80: .It Ev AUDIODEVICE
81: The audio device to use.
82: .El
1.2 kstailey 83: .Sh SEE ALSO
1.12 jmc 84: .Xr audioctl 1 ,
85: .Xr cdio 1 ,
1.9 millert 86: .Xr mixerctl 1 ,
1.2 kstailey 87: .Xr audio 4
1.1 kstailey 88: .Sh HISTORY
1.4 aaron 89: An
1.1 kstailey 90: .Nm
1.3 millert 91: utility appeared in
92: .Ox 2.0 .