xref: /openbsd/share/man/man4/arcofi.4 (revision f6aab3d8)
1.\"	$OpenBSD: arcofi.4,v 1.8 2020/04/22 05:37:00 jmc Exp $
2.\"
3.\"
4.\" Copyright (c) 2011 Miodrag Vallat.
5.\"
6.\" Permission to use, copy, modify, and distribute this software for any
7.\" purpose with or without fee is hereby granted, provided that the above
8.\" copyright notice and this permission notice appear in all copies.
9.\"
10.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17.\"
18.Dd $Mdocdate: April 22 2020 $
19.Dt ARCOFI 4
20.Os
21.Sh NAME
22.Nm arcofi
23.Nd Siemens PSB2160 audio codec
24.Sh SYNOPSIS
25.Cd "arcofi* at gsc?"
26.Cd "audio*  at arcofi?"
27.Sh DESCRIPTION
28The
29.Nm
30driver supports the HP
31.Dq Audio1
32audio devices, based upon the Siemens PSB2160
33.Dq ARCOFI
34codec, to implement the audio device interface described in
35.Xr audio 4 .
36.Pp
37This device is found onboard HP 9000 workstations models 425e, 705 and 710.
38.Pp
39The
40.Nm
41is limited to a mono, 8000 KHz sound, either with 8-bit phone-quality mu-law or
42a-law samples, or 16-bit signed linear samples in big-endian byte order.
43.Ss AUDIOCTL SETTINGS
44The following encodings are supported:
45.Pp
46.Bl -tag -width AUDIO_ENCODING_SLINEAR_BE -offset indent -compact
47.It Li AUDIO_ENCODING_ULAW
48.It Li AUDIO_ENCODING_ALAW
49.It Li AUDIO_ENCODING_SLINEAR_BE
50Natively supported.
51.Pp
52.It Li AUDIO_ENCODING_SLINEAR
53Software converted to
54.Li AUDIO_ENCODING_ULAW
55encoding.
56.Pp
57.It Li AUDIO_ENCODING_SLINEAR_LE
58.It Li AUDIO_ENCODING_ULINEAR_LE
59.It Li AUDIO_ENCODING_ULINEAR_BE
60Software converted to
61.Li AUDIO_ENCODING_SLINEAR_BE
62encoding.
63.El
64.Ss MIXERCTL SETTINGS
65The
66.Nm
67has three audio ports:
68.Pp
69.Bl -tag -width "outputs.lineXXX" -offset indent -compact
70.It Cm inputs.line
71The
72.Sq line in
73jack connector.
74.It Cm outputs.line
75The
76.Sq line out
77jack connector.
78.It Cm outputs.spkr
79The built-in speaker.
80.El
81.Pp
82Each port has a volume control, and can be muted.
83.Pp
84The
85.Cm outputs.line
86and
87.Cm outputs.spkr
88volume settings are tied to the same hardware setting.
89.Sh SEE ALSO
90.Xr ioctl 2 ,
91.Xr audio 4 ,
92.Xr gsc 4 ,
93.Xr intro 4 ,
94.Xr audioctl 8 ,
95.Xr mixerctl 8
96.Sh HISTORY
97.Ox
98support for
99.Nm
100first appeared in
101.Ox 5.1 .
102