USB_MIDI_AUDIO_SERIAL interface not working with some software (e.g VLC)

sonaben

Member
Playing audio with the Teensy (4.0) as a USB audio interface works well with VLC (or Spotify) when using the USB_AUDIO interface, but not the USB_MIDI_AUDIO_SERIAL one (no sound at all).

Playing from Windows e.g Youtube in a browser works fine with both though.

So there seems to be a bug, maybe in the USB descriptors when using USB_MIDI_AUDIO_SERIAL.

Any ideas?

Thanks, Ben

To reproduce, use the code below and play with VLC first using USB_AUDIO, then USB_MIDI_AUDIO_SERIAL.

Code:
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>

// GUItool: begin automatically generated code
AudioInputUSB            usb1;           //xy=73.43333435058594,139.43333435058594
AudioOutputTDM           tdm1;           //xy=341.433349609375,229.43333435058594
AudioConnection          patchCord2(usb1, 1, tdm1, 2);
AudioControlCS42448      cs42448_1;      //xy=457.43333435058594,120.43333435058594
// GUItool: end automatically generated code

void setup() {

AudioMemory(64);
  cs42448_1.enable();
  cs42448_1.volume(1.);
}

void loop() {

}
 
Back
Top