Explorar el Código

Fix usb audio wChannelConfig

main
PaulStoffregen hace 9 años
padre
commit
d73b29c16e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      teensy3/usb_desc.c

+ 2
- 2
teensy3/usb_desc.c Ver fichero

0x02, 0x06, // wTerminalType, 0x0602 = Digital Audio 0x02, 0x06, // wTerminalType, 0x0602 = Digital Audio
0, // bAssocTerminal, 0 = unidirectional 0, // bAssocTerminal, 0 = unidirectional
2, // bNrChannels 2, // bNrChannels
0x00, 0x03, // wChannelConfig, 0x0003 = Left & Right Front
0x03, 0x00, // wChannelConfig, 0x0003 = Left & Right Front
0, // iChannelNames 0, // iChannelNames
0, // iTerminal 0, // iTerminal
// Output Terminal Descriptor // Output Terminal Descriptor
0x01, 0x01, // wTerminalType, 0x0101 = USB_STREAMING 0x01, 0x01, // wTerminalType, 0x0101 = USB_STREAMING
0, // bAssocTerminal, 0 = unidirectional 0, // bAssocTerminal, 0 = unidirectional
2, // bNrChannels 2, // bNrChannels
0x00, 0x03, // wChannelConfig, 0x0003 = Left & Right Front
0x03, 0x00, // wChannelConfig, 0x0003 = Left & Right Front
0, // iChannelNames 0, // iChannelNames
0, // iTerminal 0, // iTerminal
// Output Terminal Descriptor // Output Terminal Descriptor

Cargando…
Cancelar
Guardar