2001-09-12 03:18:55 +04:00
|
|
|
.\" $NetBSD: uaudio.4,v 1.11 2001/09/11 23:18:55 wiz Exp $
|
1999-04-14 00:25:28 +04:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
|
1998-07-12 23:51:55 +04:00
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
1999-04-14 00:25:28 +04:00
|
|
|
.\" This code is derived from software contributed to The NetBSD Foundation
|
|
|
|
.\" by Lennart Augustsson.
|
|
|
|
.\"
|
1998-07-12 23:51:55 +04:00
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
|
|
.\" must display the following acknowledgement:
|
|
|
|
.\" This product includes software developed by the NetBSD
|
|
|
|
.\" Foundation, Inc. and its contributors.
|
|
|
|
.\" 4. Neither the name of The NetBSD Foundation nor the names of its
|
|
|
|
.\" contributors may be used to endorse or promote products derived
|
|
|
|
.\" from this software without specific prior written permission.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
|
|
|
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
|
|
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
1999-04-14 00:25:28 +04:00
|
|
|
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
1998-07-12 23:51:55 +04:00
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.Dd July 12, 1998
|
|
|
|
.Dt UAUDIO 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm uaudio
|
1999-12-16 01:07:30 +03:00
|
|
|
.Nd USB audio device driver
|
1998-07-12 23:51:55 +04:00
|
|
|
.Sh SYNOPSIS
|
2000-04-15 20:32:41 +04:00
|
|
|
.Cd "uaudio* at uhub?"
|
|
|
|
.Cd "audio* at uaudio?"
|
1998-07-12 23:51:55 +04:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2001-09-12 02:52:52 +04:00
|
|
|
driver provides support for
|
2000-04-15 20:32:41 +04:00
|
|
|
.Tn USB
|
|
|
|
audio class devices.
|
|
|
|
.Pp
|
2001-09-12 02:52:52 +04:00
|
|
|
A
|
2000-04-15 20:32:41 +04:00
|
|
|
.Tn USB
|
|
|
|
audio device consists of a number of components:
|
|
|
|
input terminals (e.g. USB digital input), output terminals (e.g.
|
|
|
|
speakers), and a number of units in between (e.g. volume control).
|
|
|
|
The following types of units are handled by the
|
|
|
|
.Nm
|
|
|
|
driver and are accessible via the mixer (see
|
|
|
|
.Xr audio 4 )
|
|
|
|
interface:
|
|
|
|
.Bl -tag -width -offset 3n -compact
|
|
|
|
.It mixer
|
2000-12-09 05:11:51 +03:00
|
|
|
A mixer has a number of inputs and one output. Each input has a control
|
2000-04-15 20:32:41 +04:00
|
|
|
that determines its volume in the output.
|
|
|
|
The name of the control is
|
|
|
|
.Ar mixN-S ,
|
2001-09-12 02:52:52 +04:00
|
|
|
where
|
2000-04-15 20:32:41 +04:00
|
|
|
.Ar N
|
|
|
|
is a number that identifies which mixer it is and
|
|
|
|
.Ar S
|
|
|
|
which input.
|
|
|
|
.It selector
|
|
|
|
Not implemented yet.
|
|
|
|
.It feature
|
|
|
|
A feature unit changes the sound in some way, like bass, treble, or
|
|
|
|
volume.
|
|
|
|
The name of the control is
|
|
|
|
.Ar feaN-S-F ,
|
2001-09-12 02:52:52 +04:00
|
|
|
where
|
2000-04-15 20:32:41 +04:00
|
|
|
.Ar N
|
|
|
|
is a number that identifies which feature unit it is,
|
|
|
|
.Ar S
|
|
|
|
which input, and
|
|
|
|
.Ar F
|
|
|
|
which feature is affected.
|
|
|
|
.It processing
|
|
|
|
A processing unit does one of a number of audio processing functions
|
|
|
|
(e.g., channel up-down mixing, Dolby ProLogic, or chorus effects).
|
|
|
|
The name of the on-off control is
|
|
|
|
.Ar proN.M-enable ,
|
2001-09-12 02:52:52 +04:00
|
|
|
where
|
2000-04-15 20:32:41 +04:00
|
|
|
.Ar N
|
|
|
|
is a number that identifies which processing unit it is and
|
|
|
|
.Ar M
|
|
|
|
which kind.
|
|
|
|
Depending on the type of processing unit there may be other controls
|
|
|
|
as well.
|
|
|
|
.It extension
|
|
|
|
An extension unit performs some unspecified audio processing
|
|
|
|
The name of the on-off control is
|
|
|
|
.Ar extN-enable ,
|
2001-09-12 02:52:52 +04:00
|
|
|
where
|
2000-04-15 20:32:41 +04:00
|
|
|
.Ar N
|
|
|
|
is a number that identifies which processing unit it is.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
For more information the
|
|
|
|
.Tn USB
|
|
|
|
Audio class specification is indispensable
|
|
|
|
reading.
|
1998-07-12 23:51:55 +04:00
|
|
|
.Sh SEE ALSO
|
2001-09-12 02:52:52 +04:00
|
|
|
The
|
|
|
|
.Tn USB
|
2000-04-15 20:32:41 +04:00
|
|
|
specifications can be found at
|
|
|
|
.Dv http://www.usb.org/developers/docs.htm .
|
|
|
|
.Pp
|
1998-10-22 14:42:01 +04:00
|
|
|
.Xr audio 4 ,
|
1998-07-12 23:51:55 +04:00
|
|
|
.Xr usb 4
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver
|
|
|
|
appeared in
|
1999-09-09 16:35:53 +04:00
|
|
|
.Nx 1.5 .
|
2001-09-12 03:18:55 +04:00
|
|
|
.Sh BUGS
|
|
|
|
The mixer interface is really incomplete.
|
|
|
|
.Pp
|
|
|
|
There should be some heuristics that allows important controls,
|
|
|
|
e.g., volume, to be identified and given its traditional name.
|