xref: /openbsd/usr.bin/aucat/aucat.1 (revision d485f761)
1.\"	$OpenBSD: aucat.1,v 1.11 2001/05/01 17:58:01 aaron Exp $
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.\"
37.Dd January 2, 1997
38.Dt AUCAT 1
39.Os
40.Sh NAME
41.Nm aucat
42.Nd concatenate and play audio files
43.Sh SYNOPSIS
44.Nm aucat
45.Op Fl f Ar device
46.Ar file ...
47.Sh DESCRIPTION
48The
49.Nm
50utility reads files sequentially, writing them to the specified device.
51By default,
52.Nm
53plays audio through the
54.Pa /dev/audio
55device.
56The
57.Ar file
58operands are processed in command line order.
59If a Sun .au header is
60detected it is skipped over and not copied to
61.Pa /dev/audio .
62Otherwise, the
63entire file is copied to
64.Pa /dev/audio .
65.Pp
66The options are as follows:
67.Bl -tag -width Ds
68.It Fl f Ar device
69Specifies an alternate audio device.
70.El
71.Pp
72The
73.Nm
74utility exits 0 on success or >0 if an error occurred.
75.Sh ENVIRONMENT
76.Bl -tag -width AUDIODEVICE
77.It Ev AUDIODEVICE
78The audio device to use.
79.El
80.Sh SEE ALSO
81.Xr mixerctl 1 ,
82.Xr audio 4
83.Sh HISTORY
84An
85.Nm
86utility appeared in
87.Ox 2.0 .
88