Browse Source

Fix usb audio wChannelConfig

teensy4-core
PaulStoffregen 8 years ago
parent
commit
d73b29c16e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      teensy3/usb_desc.c

+ 2
- 2
teensy3/usb_desc.c View File

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

Loading…
Cancel
Save