USB Device Class Definition for Audio Devices
Release 1.0 March 18, 1998 vi
4.4.1 AC Control Endpoint Descriptors.....................................................................57
4.4.2 AC Interrupt Endpoint Descriptors...................................................................58
4.5 AudioStreaming Interface Descriptors....................................................................58
4.5.1 Standard AS Interface Descriptor....................................................................59
4.5.2 Class-Specific AS Interface Descriptor............................................................59
4.5.3 Class-Specific AS Format Type Descriptor .....................................................60
4.5.4 Class-Specific AS Format-Specific Descriptor.................................................60
4.6 AudioStreaming Endpoint Descriptors....................................................................60
4.6.1 AS Isochronous Audio Data Endpoint Descriptors ...........................................61
4.6.2 AS Isochronous Synch Endpoint Descriptor ....................................................63
5 Requests .....................................................................................................................65
5.1 Standard Requests ................................................................................................65
5.2 Class-Specific Requests ........................................................................................65
5.2.1 Request Layout...............................................................................................65
5.2.2 AudioControl Requests ...................................................................................68
5.2.3 AudioStreaming Requests...............................................................................94
5.2.4 Additional Requests ........................................................................................97
Appendix A. Audio Device Class Codes .......................................................................99
A.1 Audio Interface Class Code ...................................................................................99
A.2 Audio Interface Subclass Codes ............................................................................99
A.3 Audio Interface Protocol Codes..............................................................................99
A.4 Audio Class-Specific Descriptor Types...................................................................99
A.5 Audio Class-Specific AC Interface Descriptor Subtypes .......................................100
A.6 Audio Class-Specific AS Interface Descriptor Subtypes .......................................100
A.7 Processing Unit Process Types............................................................................100
A.8 Audio Class-Specific Endpoint Descriptor Subtypes.............................................101
A.9 Audio Class-Specific Request Codes ...................................................................101
A.10 Control Selector Codes........................................................................................102
A.10.1 Terminal Control Selectors ...........................................................................102
A.10.2 Feature Unit Control Selectors ......................................................................102
A.10.3 Processing Unit Control Selectors.................................................................102
A.10.4 Extension Unit Control Selectors...................................................................104
A.10.5 Endpoint Control Selectors ...........................................................................104
Appendix B. Example 1: USB Microphone (Informative)............................................105
B.1 Product Description .............................................................................................105
B.2 Descriptor Hierarchy ............................................................................................105
B.3 Descriptors ..........................................................................................................106
B.3.1 Device Descriptor .........................................................................................106
B.3.2 Configuration Descriptor ...............................................................................107
B.3.3 AudioControl Interface Descriptor .................................................................107
B.3.4 AudioStreaming Interface Descriptor.............................................................109
B.3.5 String Descriptors .........................................................................................112
B.4 Requests .............................................................................................................113
USB Device Class Definition for Audio Devices
Release 1.0 March 18, 1998 vii
B.4.1 Standard Requests .......................................................................................113
B.4.2 Class-specific Requests................................................................................113
Appendix C. Example 2: USB Telephone (Informative)..............................................114
C.1 Product Description .............................................................................................114
C.2 Descriptor Hierarchy ............................................................................................114
C.3 Descriptors ..........................................................................................................115
C.3.1 Device Descriptor .........................................................................................115
C.3.2 Configuration Descriptor ...............................................................................116
C.3.3 AudioControl Interface Descriptor .................................................................116
C.3.4 AudioStreaming Interface 1 Descriptor..........................................................122
C.3.5 AudioStreaming Interface 2 Descriptor..........................................................125
C.3.6 String Descriptors .........................................................................................128
C.4 Requests .............................................................................................................129
C.4.1 Standard requests.........................................................................................129
C.4.2 Class-specific Requests................................................................................129
USB Device Class Definition for Audio Devices
Release 1.0 March 18, 1998 viii
List of Tables
Table 3-1: Status Word Format.........................................................................................31
Table 3-2: Dolby Prologic Cluster Descriptor ..................................................................34
Table 3-3: Left Group Cluster Descriptor.........................................................................35
Table 4-1: Standard AC Interface Descriptor ...................................................................36
Table 4-2: Class-Specific AC Interface Header Descriptor..............................................37
Table 4-3: Input Terminal Descriptor................................................................................39
Table 4-4: Output Terminal Descriptor.............................................................................40
Table 4-5: Mixer Unit Descriptor .......................................................................................41
Table 4-6: Selector Unit Descriptor ..................................................................................43
Table 4-7: Feature Unit Descriptor....................................................................................43
Table 4-8: Common Part of the Processing Unit Descriptor...........................................45
Table 4-9: Up/Down-mix Processing Unit Descriptor......................................................47
Table 4-10: Dolby Prologic Processing Unit Descriptor..................................................49
Table 4-11: 3D-Stereo Extender Processing Unit Descriptor ..........................................50
Table 4-12: Reverberation Processing Unit Descriptor...................................................52
Table 4-13: Chorus Processing Unit Descriptor ..............................................................53
Table 4-14: Dynamic Range Compressor Processing Unit Descriptor...........................54
Table 4-15: Extension Unit Descriptor .............................................................................56
Table 4-16: Associated Interfaces Descriptor ..................................................................57
Table 4-17: Standard AC Interrupt Endpoint Descriptor .................................................58
Table 4-18: Standard AS Interface Descriptor..................................................................59
Table 4-19: Class-Specific AS Interface Descriptor.........................................................60
Table 4-20: Standard AS Isochronous Audio Data Endpoint Descriptor .......................61
Table 4-21: Class-Specific AS Isochronous Audio Data Endpoint Descriptor...............62
Table 4-22: Standard AS Isochronous Synch Endpoint Descriptor ...............................63
Table 5-1: Set Request Values..........................................................................................66
Table 5-2: Get Request Values..........................................................................................67
Table 5-3: Set Terminal Control Request Values.............................................................68
Table 5-4: Get Terminal Control Request Values ............................................................68
Table 5-5: Copy Protect Control Parameter Block...........................................................69
Table 5-6: Set Mixer Unit Control Request Values...........................................................70
Table 5-7: Get Mixer Unit Control Request Values ..........................................................70
Table 5-8: First Form of the Mixer Control Parameter Block ..........................................71
Table 5-9: Second Form of the Mixer Control Parameter Block .....................................72
USB Device Class Definition for Audio Devices
Release 1.0 March 18, 1998 ix
Table 5-10: Third Form of the Mixer Control Parameter Block .......................................72
Table 5-11: Set Selector Unit Control Request Values....................................................73
Table 5-12: Get Selector Unit Control Request Values....................................................73
Table 5-13: Selector Control Parameter Block.................................................................74
Table 5-14: Set Feature Unit Control Request Values .....................................................74
Table 5-15: Get Feature Unit Control Request Values.....................................................75
Table 5-16: First Form of the Mute Control Parameter Block .........................................75
Table 5-17: Second Form of the Mute Control Parameter Block ....................................76
Table 5-18: First Form of the Volume Control Parameter Block.....................................76
Table 5-19: Second Form of the Volume Control Parameter Block................................77
Table 5-20: First Form of the Bass Control Parameter Block .........................................78
Table 5-21: Second Form of the Bass Control Parameter Block ....................................78
Table 5-22: First Form of the Mid Control Parameter Block............................................79
Table 5-23: Second Form of the Mid Control Parameter Block ......................................79
Table 5-24: First Form of the Treble Control Parameter Block .......................................80
Table 5-25: Second Form of the Treble Control Parameter Block..................................80
Table 5-27: Band Numbers and Center Frequencies (ANSI S1.11-1986 Standard) ........80
Table 5-28: Graphic Equalizer Control Parameter Block.................................................81
Table 5-29: First Form of the Automatic Gain Control Parameter Block........................82
Table 5-30: Second Form of the Automatic Gain Control Parameter Block...................82
Table 5-31: First Form of the Delay Control Parameter Block ........................................83
Table 5-32: Second Form of the Delay Control Parameter Block ...................................83
Table 5-33: First Form of the Bass Boost Control Parameter Block ..............................84
Table 5-34: Second Form of the Bass Boost Control Parameter Block .........................84
Table 5-35: First Form of the Loudness Control Parameter Block .................................85
Table 5-36: Second Form of the Loudness Control Parameter Block............................85
Table 5-37: Set Processing Unit Control Request Values...............................................86
Table 5-38: Get Processing Unit Control Request Values ..............................................86
Table 5-39: Enable Processing Control Parameter Block ...............................................87
Table 5-40: Mode Select Control Parameter Block ..........................................................87
Table 5-41: Spaciousness Control Parameter Block .......................................................88
Table 5-42: Reverb Type Control Parameter Block..........................................................88
Table 5-43: Reverb Level Control Parameter Block.........................................................89
Table 5-44: Spaciousness Control Parameter Block .......................................................89
Table 5-45: Reverb Delay Feedback Control Parameter Block .......................................89
USB Device Class Definition for Audio Devices
Release 1.0 March 18, 1998 x
Table 5-46: Chorus Level Control Parameter Block ........................................................90
Table 5-47: Chorus Modulation Rate Control Parameter Block......................................90
Table 5-48: Chorus Modulation Depth Control Parameter Block....................................91
Table 5-49: Dynamic Range Compressor Ratio Control Parameter Block .....................91
Table 5-50: Dynamic Range Compressor MaxAmpl Control Parameter Block ..............91
Table 5-51: Dynamic Range Compressor Threshold Control Parameter Block.............92
Table 5-52: Dynamic Range Compressor Attack Time Control Parameter Block ..........92
Table 5-53: Dynamic Range Compressor Release Time Control Parameter Block........93
Table 5-54: Set Extension Unit Control Request Values .................................................93
Table 5-55: Get Extension Unit Control Request Values.................................................94
Table 5-56: Enable Processing Control Parameter Block ...............................................94
Table 5-57: Set Endpoint Control Request Values ..........................................................95
Table 5-58: Get Endpoint Control Request Values..........................................................95
Table 5-59: Sampling Frequency Control Parameter Block ............................................96
Table 5-60: Pitch Control Parameter Block......................................................................96
Table 5-61: Set Memory Request Values..........................................................................97
Table 5-62: Get Memory Request Values .........................................................................97
Table 5-63: Get Status Request Values............................................................................98
Table A-1: Audio Interface Class Code ............................................................................99
Table A-2: Audio Interface Subclass Codes ....................................................................99
Table A-3: Audio Interface Protocol Codes......................................................................99
Table A-4: Audio Class-specific Descriptor Types..........................................................99
Table A-5: Audio Class-Specific AC Interface Descriptor Subtypes.............................100
Table A-6: Audio Class-Specific AS Interface Descriptor Subtypes.............................100
Table A-7: Processing Unit Process Types....................................................................100
Table A-8: Audio Class-Specific Endpoint Descriptor Subtypes..................................101
Table A-9: Audio Class-Specific Request Codes...........................................................101
Table A-10: Terminal Control Selectors .........................................................................102
Table A-11: Feature Unit Control Selectors ...................................................................102
Table A-12: Up/Down-mix Processing Unit Control Selectors......................................102
Table A-13: Dolby Prologic Processing Unit Control Selectors ...................................103
Table A-14: 3D Stereo Extender Processing Unit Control Selectors............................103
Table A-15: Reverberation Processing Unit Control Selectors.....................................103
Table A-16: Chorus Processing Unit Control Selectors................................................103
Table A-17: Dynamic Range Compressor Processing Unit Control Selectors ............104
最終更新:2011年05月22日 09:56