Ok, maybe I solved the problem: I removed the midi interface again from the audio interface collection again. (Just as in the original implementation). But I kept the interface order as descripted in the usb audio specification.
When I then...
I downloaded MidiEditor and I can reproduce the problem: with the new usb audio interface there is no midi device showing up in MidiEditor. Isn't UAC2 much older than Midi v2.0? I don't think the UAC2 standard demands Midi v2.0. Let's see what I...
Thank you for testing. I had a closer look at the output of USBTreeView you posted and it looks plausible to me, since I moved the midi stuff down after the usb audio streaming descriptors in usb_desc.c.
The new IAD descriptor in line 292 of your...
Thank you for offering your help. I changed the interface numbers now for the interface combinations USB_MIDI_AUDIO_SERIAL, USB_MIDI16_AUDIO_SERIAL and USB_EVERYTHING. However, USB_EVERYTHING doesn't not work for Teensy 4 and I was not able to...
The bug I fixed was in the AudioInputUsb class. The first time usb_audio_receive_callback was called, the buffer audio blocks were not initialized but the blocks were used anyway and data was just copied to wherever the data pointer was pointing...
@toyosm: Thank you for testing the interface. I'm glad that it also works with on a Mac.
@h4yn0nnym0u5e: I think there was a missunderstanding. It was already quite late when I wrote the post and I didn't want to go into the details. The issue I...
Ok, after I quite excessively tested the new version, I pushed the changes. Even if I mostly only moved code around, I was worried that I messed something up. Indeed it did not work at the beginning and I found a bug that was not related to my...
Tried this today, so far works like a charm!!. Replaced the core files (made a backup just in case) and worked. It does consume more AudioMemory than the stock usb. In my program used 20 blocks before (mostly to pass samples between blocks) and...
@h4yn0nnym0u5e: This are good news. Thanks also for fixing the include of AudioStream.h in usb_desc.h.
I am currently testing some changes I made to the AudioInputUSB and AudioOutputUSB (not pushed yet).
To understand my changes some background...
Good to hear that the usb interface works also with 8 channel 96kHz.
Regarding a pull request: I also have some things that I still need to clean up first (besides AudioData.h). When I find some time the next days I'll have a look at the issues...