NetBSD/share/man/man4/arcofi.4

103 lines
2.4 KiB
Groff

.\" $NetBSD: arcofi.4,v 1.2 2014/08/25 13:22:20 wiz Exp $
.\" $OpenBSD: arcofi.4,v 1.4 2011/12/27 10:28:35 jmc Exp $
.\"
.\"
.\" Copyright (c) 2011 Miodrag Vallat.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd August 25, 2014
.Dt ARCOFI 4
.Os
.Sh NAME
.Nm arcofi
.Nd Siemens PSB2160 audio codec
.Sh SYNOPSIS
.Cd "arcofi* at dio?"
.\" .Cd "arcofi* at gsc?"
.Cd "audio* at audiobus?"
.Sh DESCRIPTION
The
.Nm
driver supports the HP
.Dq Audio1
audio devices, based upon the Siemens PSB2160
.Dq ARCOFI
codec, to implement the audio device interface described in
.Xr audio 4 .
.Pp
This device is found onboard HP 9000 workstations models 425e, 705 and 710.
.Pp
The
.Nm
is limited to a phone-quality mono, 8000 Hz sound.
.Ss AUDIOCTL SETTINGS
The following encodings are supported:
.Pp
.Bl -tag -width AUDIO_ENCODING_SLINEAR_BE -offset indent -compact
.It Li AUDIO_ENCODING_ULAW
.It Li AUDIO_ENCODING_ALAW
.It Li AUDIO_ENCODING_SLINEAR_BE
Natively supported.
.Pp
.It Li AUDIO_ENCODING_SLINEAR
.It Li AUDIO_ENCODING_SLINEAR_LE
.It Li AUDIO_ENCODING_ULINEAR_LE
.It Li AUDIO_ENCODING_ULINEAR_BE
Software converted to
.Li AUDIO_ENCODING_SLINEAR_BE
encoding.
.El
.Ss MIXERCTL SETTINGS
The
.Nm
has three audio ports:
.Pp
.Bl -tag -width "outputs.lineXXX" -offset indent -compact
.It Cm inputs.line
The
.Sq line in
jack connector.
.It Cm outputs.line
The
.Sq line out
jack connector.
.It Cm outputs.speaker
The built-in speaker.
.El
.Pp
Each port has a volume control, and can be muted.
.Pp
The
.Cm outputs.line
and
.Cm outputs.speaker
volume settings are tied to the same hardware setting.
.Sh SEE ALSO
.Xr audioctl 1 ,
.Xr mixerctl 1 ,
.Xr ioctl 2 ,
.Xr audio 4 ,
.Xr dio 4 ,
.\" .Xr gsc 4 ,
.Xr intro 4
.Sh HISTORY
The
.Nm
driver was written for
.Ox
and first appeared in
.Ox 5.1 ,
and was ported to
.Nx .