All pastes #2073375 Raw Edit

Someone

public cpp v1 · immutable
#2073375 ·published 2011-06-01 19:58 UTC
rendered paste body
Bus 002 Device 003: ID 041e:30df Creative Technology, Ltd Device Descriptor:  bLength                18  bDescriptorType         1  bcdUSB               1.10  bDeviceClass            0 (Defined at Interface level)  bDeviceSubClass         0   bDeviceProtocol         0   bMaxPacketSize0        64  idVendor           0x041e Creative Technology, Ltd  idProduct          0x30df  bcdDevice            1.00  iManufacturer           1 Creative Technology Ltd  iProduct                2 SB X-Fi Surround 5.1 Pro  iSerial                 3 000002up  bNumConfigurations      1 // one configuration  Configuration Descriptor:    bLength                 9    bDescriptorType         2    wTotalLength          694    // firmware    bNumInterfaces          3	// 3 interfaces    bConfigurationValue     1    // first and only configuration    iConfiguration          0     bmAttributes         0x80 // ??      (Bus Powered)    MaxPower              400mA // <= shouldn't be usb1.1    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        0      // interface 1...      bAlternateSetting       0      bNumEndpoints           1      // ...has one endpoint      bInterfaceClass         1 Audio      bInterfaceSubClass      1 Control Device      bInterfaceProtocol      0       iInterface              0       AudioControl Interface Descriptor:        bLength                10        bDescriptorType        36        bDescriptorSubtype      1 (HEADER)        bcdADC               1.00        // analog to digital converter? id 1.00? ...        wTotalLength           61        // ... chip with length of 61, seems so        bInCollection           2        baInterfaceNr( 0)       1        baInterfaceNr( 1)       2      AudioControl Interface Descriptor:        bLength                12        bDescriptorType        36        bDescriptorSubtype      2 (INPUT_TERMINAL)//===== bTerminalID             1-        wTerminalType      0x0101 USB Streaming-  // Terminal ID 1, stream from USB ===> ...-        bAssocTerminal          0-        bNrChannels             6-  //      wChannelConfig     0x003f-  //        Left Front (L)-  //        Right Front (R)-  //        Center Front (C)-  //        Low Freqency Enhancement (LFE)-  //        Left Surround (LS)-  //        Right Surround (RS)-        iChannelNames           0 -        iTerminal               0 -      AudioControl Interface Descriptor:-        bLength                 9-        bDescriptorType        36-        bDescriptorSubtype      3 (OUTPUT_TERMINAL)-        bTerminalID             3 //=====================> TERM ID --3---  // Source ID 1, USB stream ===> Speaker jacks out-        wTerminalType      0x0301 Speaker-        bAssocTerminal          0//====== bSourceID               1-        iTerminal               0 -        // not a virtual terminal, or they all use virtual terminal 0?-      AudioControl Interface Descriptor:-        bLength                12-        bDescriptorType        36-        bDescriptorSubtype      2 (INPUT_TERMINAL)-  //=== bTerminalID             4-  -      wTerminalType      0x0603 Line Connector-  -  // Terminal ID 4 Stream from LINE IN jack ==> ...-  -      bAssocTerminal          0-  -      bNrChannels             2-  -  //  wChannelConfig     0x0003-  -  //    Left Front (L)-  -  //    Right Front (R)-  -      iChannelNames           0 -  -      iTerminal               0 -  -    AudioControl Interface Descriptor:-  -      bLength                 9-  -      bDescriptorType        36-  -      bDescriptorSubtype      3 (OUTPUT_TERMINAL)-  -      bTerminalID             6 //===========================> TERM ID --6---  -  // Source ID 4, LINE IN ==> USB-  -      wTerminalType      0x0101 USB Streaming-  -      bAssocTerminal          0-  //==== bSourceID               4-        iTerminal               0 -      AudioControl Interface Descriptor:-        bLength                 9-        bDescriptorType        36-        bDescriptorSubtype      3 (OUTPUT_TERMINAL)-        bTerminalID             8 //================================> TERM ID --8---  // Source ID 1, USB stream ==> OPTICAL OUT-        wTerminalType      0x0602 Digital Audio Interface-        bAssocTerminal          0//====== bSourceID               1-        iTerminal               0 -	//========Endpoint Descriptor:========//-	///=======INTERFACE 1 ENDPOINT =======//-	//        bLength                 9-	//        bDescriptorType         5                                    DATA-	//        bEndpointAddress     0x83  EP 3 IN      INTERRUPT <= 0x83 <= IN 2 bytes-	//        bmAttributes            3-	//          Transfer Type            Interrupt-	//          Synch Type               None-	//          Usage Type               Data-	//        wMaxPacketSize     0x0002  1x 2 bytes-	//        bInterval              10-	//        bRefresh                0-	//        bSynchAddress           0-	////////////////////////////////////////-////////////////////////////////////////////////////////////////////////////////////////         FORMAT TYPE I//////////////////////////////////////////////////////////////////////////////////////-   Interface Descriptor:-      bLength                 9-      bDescriptorType         4-      bInterfaceNumber        1-      // interface 2....-      bAlternateSetting       0 // setting 0; NULL-      bNumEndpoints           0-      // ... has no endpoints? ... ^^-      bInterfaceClass         1 Audio-      bInterfaceSubClass      2 Streaming-      bInterfaceProtocol      0 -      iInterface              0 -    Interface Descriptor:-      bLength                 9-      bDescriptorType         4-      bInterfaceNumber        1-      // ... interface2 ...-      bAlternateSetting       1 // setting 1 ==> Stereo, 16bit, 48khz ############-      bNumEndpoints           2-      // ... has two endpoints after all ...-      bInterfaceClass         1 Audio-      bInterfaceSubClass      2 Streaming-      bInterfaceProtocol      0 -      iInterface              0 -      AudioStreaming Interface Descriptor:-        bLength                 7-        bDescriptorType        36                  //////////////////////////////////-  // PCM - LINKED TO TERMINAL ID 1                 /////  output path-        bDescriptorSubtype      1 (AS_GENERAL)     ///// USB 0x0101//===== bTerminalLink           1                   /////   => FORMAT-TYPE-I(III)-        bDelay                  0 frames           /////      => Speaker out 0x0301 =>-        wFormatTag              1 PCM              /////      => Optical out 0x0602 =>-     // AudioStreaming Interface Descriptor:       //////////////////////////////////-     //   bLength                11-     //   bDescriptorType        36     //   bDescriptorSubtype      2 (FORMAT_TYPE)     //   bFormatType             1 //////(FORMAT_TYPE_I)///////     //   bNrChannels             2     //   bSubframeSize           2     //   bBitResolution         16     //   bSamFreqType            1 Discrete     //   tSamFreq[ 0]        48000   ////===Endpoint Descriptor:=========////     //===INTERFACE 2; FIRST ENDPOINT=////     //   bLength                 9     //   bDescriptorType         5     //   bEndpointAddress     0x01  EP 1 OUT ======//     //   bmAttributes            5                 -     //     Transfer Type            Isochronous    -     //     Synch Type               Asynchronous   -       DATA                        FEEDBACK     //     Usage Type               Data           -  0x01 196 bytes => OUT =>  0x81  IN 3 bytes     //   wMaxPacketSize     0x00c4  1x 196 bytes   -                      \\__________//      //   bInterval               1                 -                         EP GENERAL 0x00     //   bRefresh                0                 -     //   bSynchAddress           1                 -   ///=====AudioControl Endpoint Descriptor:        //    //     bLength                 7                -    //      bDescriptorType        37               -    //      bDescriptorSubtype      1 (EP_GENERAL)==//    //      bmAttributes         0x00               -    //      bLockDelayUnits         0 Undefined     -    //      wLockDelay              0 Undefined     -   ///===Endpoint Descriptor:=======////            -    //===INTERFACE2; 2ND ENDPOINT===////            -    //    bLength                 9                 -    //    bDescriptorType         5                 -    //    bEndpointAddress     0x81  EP 1 IN =======//    //    bmAttributes           17    //      Transfer Type            Isochronous    //      Synch Type               None    //      Usage Type               Feedback    //    wMaxPacketSize     0x0003  1x 3 bytes    //    bInterval               1    //    bRefresh                5    //    bSynchAddress           0////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting       2 // setting 2 ==> Stereo, 24bit, 48khz #############      bNumEndpoints           2      bInterfaceClass         1 Audio      bInterfaceSubClass      2 Streaming      bInterfaceProtocol      0       iInterface              0       AudioStreaming Interface Descriptor:        bLength                 7-        bDescriptorType        36-   // PCM LINKED TO TERMINAL ID 1-        bDescriptorSubtype      1 (AS_GENERAL)//===== bTerminalLink           1-        bDelay                  0 frames-        wFormatTag              1 PCM-      AudioStreaming Interface Descriptor:        bLength                11        bDescriptorType        36        bDescriptorSubtype      2 (FORMAT_TYPE)        bFormatType             1 /////////(FORMAT_TYPE_I)/////////        bNrChannels             2        bSubframeSize           3        bBitResolution         24        bSamFreqType            1 Discrete        tSamFreq[ 0]        48000      Endpoint Descriptor:        bLength                 9        bDescriptorType         5        bEndpointAddress     0x01  EP 1 OUT ==================//        bmAttributes            5                             -          Transfer Type            Isochronous                -          Synch Type               Asynchronous               -          Usage Type               Data                       -        DATA                       FEEDBACK        wMaxPacketSize     0x0126  1x 294 bytes               - 0x0126 294 bytes => OUT =>  0x81  IN 3 bytes        bInterval               1                             -                      \\___________//        bRefresh                0                             -                         EP GENERAL 0x00        bSynchAddress           1                             -        AudioControl Endpoint Descriptor:                     -          bLength                 7                           -          bDescriptorType        37                           -           bDescriptorSubtype      1 (EP_GENERAL) =============//          bmAttributes         0x00                           -          bLockDelayUnits         0 Undefined                 -          wLockDelay              0 Undefined                 -      Endpoint Descriptor:                                    -        bLength                 9                             -        bDescriptorType         5                             -        bEndpointAddress     0x81  EP 1 IN ===================//        bmAttributes           17          Transfer Type            Isochronous          Synch Type               None          Usage Type               Feedback        wMaxPacketSize     0x0003  1x 3 bytes        bInterval               1        bRefresh                5        bSynchAddress           0////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting       3 // setting 3 ==> Surround 5.1, 16bit, 48khz ###############      bNumEndpoints           2      bInterfaceClass         1 Audio      bInterfaceSubClass      2 Streaming      bInterfaceProtocol      0       iInterface              0       AudioStreaming Interface Descriptor:        bLength                 7-        bDescriptorType        36-    // PCM LINKED TO TERMINAL ID 1-        bDescriptorSubtype      1 (AS_GENERAL)//===== bTerminalLink           1-        bDelay                  0 frames-        wFormatTag              1 PCM-      AudioStreaming Interface Descriptor:        bLength                11        bDescriptorType        36        bDescriptorSubtype      2 (FORMAT_TYPE)        bFormatType             1 /////////(FORMAT_TYPE_I)////////////        bNrChannels             6        bSubframeSize           2        bBitResolution         16        bSamFreqType            1 Discrete        tSamFreq[ 0]        48000      Endpoint Descriptor:        bLength                 9        bDescriptorType         5        bEndpointAddress     0x01  EP 1 OUT ===============//        bmAttributes            5                          -          Transfer Type            Isochronous             -          Synch Type               Asynchronous            -          Usage Type               Data                    -        wMaxPacketSize     0x024c  1x 588 bytes            -         DATA                         FEEDBACK        bInterval               1                          - 0x024c 588 bytes => OUT =>  0x81  IN 3 bytes        bRefresh                0                          -                      \\___________//        bSynchAddress           1                          -                        EP GENERAL 0x00        AudioControl Endpoint Descriptor:                  -          bLength                 7                        -          bDescriptorType        37                        -          bDescriptorSubtype      1 (EP_GENERAL) ==========//          bmAttributes         0x00                        -          bLockDelayUnits         0 Undefined              -          wLockDelay              0 Undefined              -      Endpoint Descriptor:                                 -        bLength                 9                          -        bDescriptorType         5                          -        bEndpointAddress     0x81  EP 1 IN ================//        bmAttributes           17          Transfer Type            Isochronous          Synch Type               None          Usage Type               Feedback        wMaxPacketSize     0x0003  1x 3 bytes        bInterval               1        bRefresh                5        bSynchAddress           0////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting       4 // Setting 4 => Surround 5.1, 24bit, 48khz ##########      bNumEndpoints           2      bInterfaceClass         1 Audio      bInterfaceSubClass      2 Streaming      bInterfaceProtocol      0       iInterface              0       AudioStreaming Interface Descriptor:        bLength                 7-        bDescriptorType        36-    // PCM LINKED TO TERMINAL ID 1-        bDescriptorSubtype      1 (AS_GENERAL)//===== bTerminalLink           1-        bDelay                  0 frames-        wFormatTag              1 PCM-      AudioStreaming Interface Descriptor:        bLength                11        bDescriptorType        36        bDescriptorSubtype      2 (FORMAT_TYPE)        bFormatType             1 /////////(FORMAT_TYPE_I)///////////        bNrChannels             6        bSubframeSize           3        bBitResolution         24        bSamFreqType            1 Discrete        tSamFreq[ 0]        48000      Endpoint Descriptor:        bLength                 9        bDescriptorType         5        bEndpointAddress     0x01  EP 1 OUT ==============//        bmAttributes            5                         -          Transfer Type            Isochronous            -          Synch Type               Asynchronous           -        DATA                       FEEDBACK          Usage Type               Data                   - 0x0372 882 bytes => OUT =>  0x81  IN 3 bytes        wMaxPacketSize     0x0372  1x 882 bytes           -                      \\___________//        bInterval               1                         -                       EP GENERAL 0x00        bRefresh                0                         -        bSynchAddress           1                         -        AudioControl Endpoint Descriptor:                 -          bLength                 7                       -          bDescriptorType        37                       -          bDescriptorSubtype      1 (EP_GENERAL) ========//          bmAttributes         0x00                       -          bLockDelayUnits         0 Undefined             -          wLockDelay              0 Undefined             -      Endpoint Descriptor:                                        bLength                 9                         -        bDescriptorType         5                         -        bEndpointAddress     0x81  EP 1 IN ==============//        bmAttributes           17          Transfer Type            Isochronous          Synch Type               None          Usage Type               Feedback        wMaxPacketSize     0x0003  1x 3 bytes        bInterval               1        bRefresh                5        bSynchAddress           0////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////            Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting       5 // Setting 5 => Stereo, 16bit, 96khz #################      bNumEndpoints           2      bInterfaceClass         1 Audio      bInterfaceSubClass      2 Streaming      bInterfaceProtocol      0       iInterface              0       AudioStreaming Interface Descriptor:        bLength                 7-        bDescriptorType        36-  //PCM LINKED TO TERMINAL ID 1-        bDescriptorSubtype      1 (AS_GENERAL)//===== bTerminalLink           1-        bDelay                  0 frames-        wFormatTag              1 PCM      AudioStreaming Interface Descriptor:        bLength                11        bDescriptorType        36        bDescriptorSubtype      2 (FORMAT_TYPE)        bFormatType             1 //////////(FORMAT_TYPE_I)//////////        bNrChannels             2        bSubframeSize           2        bBitResolution         16        bSamFreqType            1 Discrete        tSamFreq[ 0]        96000      Endpoint Descriptor:        bLength                 9        bDescriptorType         5        bEndpointAddress     0x01  EP 1 OUT =============//        bmAttributes            5                        -          Transfer Type            Isochronous           -          Synch Type               Asynchronous          Usage Type               Data        wMaxPacketSize     0x0184  1x 388 bytes        bInterval               1        bRefresh                0        bSynchAddress           1        AudioControl Endpoint Descriptor:          bLength                 7                      -          DATA                    FEEDBACK          bDescriptorType        37                      - 0x0184 388 bytes => OUT =>  0x81  IN 3 bytes          bDescriptorSubtype      1 (EP_GENERAL) ========//                     \\___________//          bmAttributes         0x00                      -                       EP GENERAL 0x00          bLockDelayUnits         0 Undefined            -          wLockDelay              0 Undefined      Endpoint Descriptor:        bLength                 9                        -        bDescriptorType         5                        -        bEndpointAddress     0x81  EP 1 IN ==============//        bmAttributes           17          Transfer Type            Isochronous          Synch Type               None          Usage Type               Feedback        wMaxPacketSize     0x0003  1x 3 bytes        bInterval               1        bRefresh                5        bSynchAddress           0////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting       6 // Setting 6 => Stereo, 24bit, 96khz ##################      bNumEndpoints           2      bInterfaceClass         1 Audio      bInterfaceSubClass      2 Streaming      bInterfaceProtocol      0       iInterface              0       AudioStreaming Interface Descriptor:        bLength                 7-        bDescriptorType        36-  // PCM LINKED TO TERMINAL ID 1-        bDescriptorSubtype      1 (AS_GENERAL)//===== bTerminalLink           1-        bDelay                  0 frames-        wFormatTag              1 PCM      AudioStreaming Interface Descriptor:        bLength                11        bDescriptorType        36        bDescriptorSubtype      2 (FORMAT_TYPE)        bFormatType             1 /////////(FORMAT_TYPE_I)///////////        bNrChannels             2        bSubframeSize           3        bBitResolution         24        bSamFreqType            1 Discrete        tSamFreq[ 0]        96000      Endpoint Descriptor:        bLength                 9        bDescriptorType         5        bEndpointAddress     0x01  EP 1 OUT =============//        bmAttributes            5                        -          Transfer Type            Isochronous           -          Synch Type               Asynchronous          Usage Type               Data        wMaxPacketSize     0x0246  1x 582 bytes        bInterval               1        bRefresh                0        bSynchAddress           1        AudioControl Endpoint Descriptor:                          DATA                      FEEDBACK          bLength                 7                      - 0x0246 582 bytes => OUT =>  0x81  IN 3 bytes          bDescriptorType        37                      -                     \\____________//          bDescriptorSubtype      1 (EP_GENERAL) ========//                     EP GENERAL 0x00          bmAttributes         0x00                      -          bLockDelayUnits         0 Undefined            -          wLockDelay              0 Undefined      Endpoint Descriptor:        bLength                 9                        -        bDescriptorType         5                        -        bEndpointAddress     0x81  EP 1 IN ==============//        bmAttributes           17          Transfer Type            Isochronous          Synch Type               None          Usage Type               Feedback        wMaxPacketSize     0x0003  1x 3 bytes        bInterval               1        bRefresh                5        bSynchAddress           0////////////////////////////////////////////////////////////////////////////////////            FORMAT TYPE III//////////////////////////////////////////////////////////////////////////////////    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting       7 // Setting 7 => Stereo, 16bit, 44.1khz ###########      bNumEndpoints           2      bInterfaceClass         1 Audio      bInterfaceSubClass      2 Streaming      bInterfaceProtocol      0       iInterface              0       AudioStreaming Interface Descriptor:        bLength                 7-        bDescriptorType        36-  //PCM LINKED TO TERMINAL ID 1-        bDescriptorSubtype      1 (AS_GENERAL)//===== bTerminalLink           1-        bDelay                  0 frames-        wFormatTag           8193 IEC1937_AC-3      AudioStreaming Interface Descriptor:        bLength                11        bDescriptorType        36        bDescriptorSubtype      2 (FORMAT_TYPE)        bFormatType             3 ///////////(FORMAT_TYPE_III)/////////// ###########        bNrChannels             2        bSubframeSize           2        bBitResolution         16        bSamFreqType            1 Discrete        tSamFreq[ 0]        44100      Endpoint Descriptor:        bLength                 9        bDescriptorType         5        bEndpointAddress     0x01  EP 1 OUT =============//        bmAttributes            5                        -          Transfer Type            Isochronous           -          Synch Type               Asynchronous          Usage Type               Data        wMaxPacketSize     0x00b4  1x 180 bytes        bInterval               1        bRefresh                0        bSynchAddress           1        AudioControl Endpoint Descriptor:          bLength                 7                      -         DATA                       FEEDBACK          bDescriptorType        37                      - 0x00b4 180 bytes => OUT =>  0x81  IN 3 bytes          bDescriptorSubtype      1 (EP_GENERAL) ========//                    \\____________//          bmAttributes         0x00                      -                       EP GENERAL 0x00          bLockDelayUnits         0 Undefined            -          wLockDelay              0 Undefined      Endpoint Descriptor:        bLength                 9                        -        bDescriptorType         5                        -        bEndpointAddress     0x81  EP 1 IN ==============//        bmAttributes           17          Transfer Type            Isochronous          Synch Type               None          Usage Type               Feedback        wMaxPacketSize     0x0003  1x 3 bytes        bInterval               1        bRefresh                5        bSynchAddress           0//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        1      bAlternateSetting       8 // Setting 8 => OPTICAL OUT Stereo 16bit 48Khz ##############      bNumEndpoints           2      bInterfaceClass         1 Audio      bInterfaceSubClass      2 Streaming      bInterfaceProtocol      0       iInterface              0       AudioStreaming Interface Descriptor:        bLength                 7-        bDescriptorType        36-  // PCM LINKED TO TERMINAL ID 1-        bDescriptorSubtype      1 (AS_GENERAL)//===== bTerminalLink           1-        bDelay                  0 frames-        wFormatTag           8193 IEC1937_AC-3      AudioStreaming Interface Descriptor:        bLength                11        bDescriptorType        36        bDescriptorSubtype      2 (FORMAT_TYPE)        bFormatType             3 ////////////////(FORMAT_TYPE_III)///////////////        bNrChannels             2        bSubframeSize           2        bBitResolution         16        bSamFreqType            1 Discrete        tSamFreq[ 0]        48000      Endpoint Descriptor:        bLength                 9        bDescriptorType         5        bEndpointAddress     0x01  EP 1 OUT =============//        bmAttributes            5                        -          Transfer Type            Isochronous           -          Synch Type               Asynchronous          Usage Type               Data        wMaxPacketSize     0x00c4  1x 196 bytes        bInterval               1        bRefresh                0        bSynchAddress           1        AudioControl Endpoint Descriptor:          bLength                 7                      -          DATA                      FEEDBACK          bDescriptorType        37                      - 0x00c4 196 bytes => OUT =>  0x81  IN 3 bytes          bDescriptorSubtype      1 (EP_GENERAL) ========//                    \\_____________//          bmAttributes         0x00                      -                      EP GENERAL 0x00          bLockDelayUnits         0 Undefined            -          wLockDelay              0 Undefined      Endpoint Descriptor:        bLength                 9                        -        bDescriptorType         5                        -        bEndpointAddress     0x81  EP 1 IN ==============//        bmAttributes           17          Transfer Type            Isochronous          Synch Type               None          Usage Type               Feedback        wMaxPacketSize     0x0003  1x 3 bytes        bInterval               1        bRefresh                5        bSynchAddress           0//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        2      // interface 3...      bAlternateSetting       0 // setting 0; NULL      bNumEndpoints           0      // ... zero endpoints      bInterfaceClass         1 Audio      bInterfaceSubClass      2 Streaming      bInterfaceProtocol      0       iInterface              0     Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        2      bAlternateSetting       1 // Setting 1 => Stereo LINE IN, 16bit, 48khz #################      bNumEndpoints           1      bInterfaceClass         1 Audio                        ///////////////////////////////      bInterfaceSubClass      2 Streaming                    /////  input path      bInterfaceProtocol      0                              ///// LINE IN 0x0003      iInterface              0                              /////   => FORMAT-TYPE-I(III)      AudioStreaming Interface Descriptor:                   /////       => USB 0x0101 =>        bLength                 7                            ///////////////////////////////        bDescriptorType        36                                       ////PCM LINKED TO TERMINAL ID 6////////////////////////////           -        bDescriptorSubtype      1 (AS_GENERAL)                         -         bTerminalLink           6 //===================================// < TO TERM 6 >        bDelay                  0 frames                               -         wFormatTag              1 PCM                                  -      AudioStreaming Interface Descriptor:        bLength                11        bDescriptorType        36        bDescriptorSubtype      2 (FORMAT_TYPE)        bFormatType             1 /////////(FORMAT_TYPE_I)//////////        bNrChannels             2        bSubframeSize           2        bBitResolution         16        bSamFreqType            1 Discrete        tSamFreq[ 0]        48000      Endpoint Descriptor:        bLength                 9        bDescriptorType         5                                                  //IMPLICIT FEEDBACK DATA        bEndpointAddress     0x82  EP 2 IN ==============// "AUDIO SOURCE" <= 0x82 <= 196 bytes 0x00c4        bmAttributes           37                                                     \\___________//          Transfer Type            Isochronous                                           LINE IN           Synch Type               Asynchronous          Usage Type               Implicit feedback Data        wMaxPacketSize     0x00c4  1x 196 bytes        bInterval               1        bRefresh                0        bSynchAddress           0        AudioControl Endpoint Descriptor:          bLength                 7          bDescriptorType        37          bDescriptorSubtype      1 (EP_GENERAL) ========//          bmAttributes         0x00          bLockDelayUnits         0 Undefined          wLockDelay              0 Undefined//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        2      bAlternateSetting       2 // Setting 2 => Stereo LINE IN, 24bit, 48khz ################      bNumEndpoints           1      bInterfaceClass         1 Audio      bInterfaceSubClass      2 Streaming      bInterfaceProtocol      0       iInterface              0       AudioStreaming Interface Descriptor:        bLength                 7        bDescriptorType        36  // PCM LINKED TO TERMINAL ID 6        bDescriptorSubtype      1 (AS_GENERAL)        bTerminalLink           6 //================================// < TO TERM 6>        bDelay                  0 frames        wFormatTag              1 PCM      AudioStreaming Interface Descriptor:        bLength                11        bDescriptorType        36        bDescriptorSubtype      2 (FORMAT_TYPE)        bFormatType             1 /////////(FORMAT_TYPE_I)//////////        bNrChannels             2        bSubframeSize           3        bBitResolution         24        bSamFreqType            1 Discrete        tSamFreq[ 0]        48000      Endpoint Descriptor:        bLength                 9        bDescriptorType         5                                                 //IMPLICIT FEEDBACK DATA        bEndpointAddress     0x82  EP 2 IN ==============// "AUDIO SOURCE" <= 0x82 <= 294 bytes 0x0126        bmAttributes           37                                                       \\___________//          Transfer Type            Isochronous                                             LINE IN          Synch Type               Asynchronous          Usage Type               Implicit feedback Data        wMaxPacketSize     0x0126  1x 294 bytes        bInterval               1        bRefresh                0        bSynchAddress           0        AudioControl Endpoint Descriptor:          bLength                 7          bDescriptorType        37          bDescriptorSubtype      1 (EP_GENERAL) ========//          bmAttributes         0x00          bLockDelayUnits         0 Undefined          wLockDelay              0 Undefined//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        2      bAlternateSetting       3 // Setting 3 => Stereo LINE IN, 16bit, 96khz ##############      bNumEndpoints           1      bInterfaceClass         1 Audio      bInterfaceSubClass      2 Streaming      bInterfaceProtocol      0       iInterface              0       AudioStreaming Interface Descriptor:        bLength                 7        bDescriptorType        36  // PCM LINKED TO TERMINAL ID 6        bDescriptorSubtype      1 (AS_GENERAL)        bTerminalLink           6 //==========================// < TO TERM 6 >        bDelay                  0 frames        wFormatTag              1 PCM      AudioStreaming Interface Descriptor:        bLength                11        bDescriptorType        36        bDescriptorSubtype      2 (FORMAT_TYPE)        bFormatType             1 /////////////(FORMAT_TYPE_I)///////////////        bNrChannels             2        bSubframeSize           2        bBitResolution         16        bSamFreqType            1 Discrete        tSamFreq[ 0]        96000      Endpoint Descriptor:        bLength                 9        bDescriptorType         5                                                    //IMPLICIT FEEDBACK DATA        bEndpointAddress     0x82  EP 2 IN ==============// "AUDIO SOURCE" <= 0x82 <= 388 bytes 0x0184        bmAttributes           37                                                        \\______________//          Transfer Type            Isochronous                                              LINE IN          Synch Type               Asynchronous          Usage Type               Implicit feedback Data        wMaxPacketSize     0x0184  1x 388 bytes        bInterval               1        bRefresh                0        bSynchAddress           0        AudioControl Endpoint Descriptor:          bLength                 7          bDescriptorType        37          bDescriptorSubtype      1 (EP_GENERAL) ========//          bmAttributes         0x00          bLockDelayUnits         0 Undefined          wLockDelay              0 Undefined//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////    Interface Descriptor:      bLength                 9      bDescriptorType         4      bInterfaceNumber        2      bAlternateSetting       4 // Setting 4 => Stereo LINE IN, 24bit, 96khz #############      bNumEndpoints           1      bInterfaceClass         1 Audio      bInterfaceSubClass      2 Streaming      bInterfaceProtocol      0       iInterface              0       AudioStreaming Interface Descriptor:        bLength                 7        bDescriptorType        36  // PCM LINKED TO TERMINAL ID 6        bDescriptorSubtype      1 (AS_GENERAL)        bTerminalLink           6 //=======================// < TO TERM 6 >        bDelay                  0 frames        wFormatTag              1 PCM      AudioStreaming Interface Descriptor:        bLength                11        bDescriptorType        36        bDescriptorSubtype      2 (FORMAT_TYPE)        bFormatType             1 /////////////(FORMAT_TYPE_I)////////////        bNrChannels             2        bSubframeSize           3        bBitResolution         24        bSamFreqType            1 Discrete        tSamFreq[ 0]        96000      Endpoint Descriptor:        bLength                 9        bDescriptorType         5                                                    //IMPLICIT FEEDBACK DATA        bEndpointAddress     0x82  EP 2 IN ==============// "AUDIO SOURCE" <= 0x82 <= 582 bytes 0x0246        bmAttributes           37                                                       \\_______________//          Transfer Type            Isochronous                                             LINE IN          Synch Type               Asynchronous          Usage Type               Implicit feedback Data        wMaxPacketSize     0x0246  1x 582 bytes        bInterval               1        bRefresh                0        bSynchAddress           0        AudioControl Endpoint Descriptor:          bLength                 7          bDescriptorType        37          bDescriptorSubtype      1 (EP_GENERAL) ========//          bmAttributes         0x00          bLockDelayUnits         0 Undefined          wLockDelay              0 UndefinedDevice Status:     0x0000  (Bus Powered)