1 .\" $NetBSD: uaudio.4,v 1.22 2005/06/22 04:30:08 kent Exp $
3 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This code is derived from software contributed to The NetBSD Foundation
7 .\" by Lennart Augustsson.
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
35 .Nd USB audio device driver
37 .Cd "uaudio* at uhub?"
38 .Cd "audio* at audiobus?"
42 driver provides support for
48 audio device consists of a number of components:
49 input terminals (e.g. USB digital input), output terminals (e.g.
50 speakers), and a number of units in between (e.g. volume control).
51 The following types of units are handled by the
53 driver and are accessible via the mixer (see
56 .Bl -tag -width Dv -offset 3n -compact
58 A mixer has a number of inputs and one output. Each input has a control
59 that determines its volume in the output.
60 The name of the control is
64 is a number that identifies which mixer it is and
68 A selector unit selects one of multiple audio sources such as mic-in
70 The name of the control is
74 is a number that identifies which selector unit it is and the sequence of
76 indicates candidate units for the audio source.
78 A feature unit changes the sound in some way, like bass, treble,
80 The name of the control is determined in a heuristic way.
81 If the unit changes the sound to a speaker output terminal,
82 the names of the controls may be outputs.speaker.bass, outputs.speaker.treble,
83 outputs.speaker.mute, outputs.speaker, or likewise.
85 A processing unit does one of a number of audio processing functions
86 (e.g., channel up-down mixing, Dolby ProLogic, or chorus effects).
87 The name of the on-off control is
91 is a number that identifies which processing unit it is and
94 Depending on the type of processing unit there may be other controls
97 An extension unit performs some unspecified audio processing
98 The name of the on-off control is
102 is a number that identifies which processing unit it is.
105 For more information the
107 Audio class specification is indispensable
112 specifications can be found at:
113 .Dv http://www.usb.org/developers/docs.html
124 There is no support for multiple-endpoints audio stream,
125 adaptive recording, async playback, and TYPE-II/III formats.
127 There is the possibility that a device has multiple mixer items
128 which have the same name.