Hi Eleaz,

A search for "opencm3 usb audio" found this complete example pretty quickly:

https://github.com/im-tomu/tomu-quickstart/blob/master/usb-audiostream/usb_audio.c

Good luck!

Cheers,
Stephen

On Wed, Sep 28, 2022 at 1:39 AM Eléaz van der Toorn <
eleazvanderto...@hotmail.com> wrote:

> Dear Sir/Madame,
>
> I started using libopencm3 a few moths ago, it really is great.
> Created a Midi Keyboard Controller with it and a few other small boards.
>
> Currently I am using it to create a driver board for a speaker.
> I ran in some problems, with the device descriptor. It’s simply not
> working.
> It does not allow me to create a zero-bandwidth interface with
> bAlternateSetting 0x00 and a second interface with an endpoint, and a
> format-type descriptor with bAlternateSetting 0x01.
>
> I couldn’t find an example of an Audio Function. But if someone knows of
> one, or has one which can be shared, it would help me a lot.
>
> If someone wants to see my code, to help me with that, I will upload it.
>
> Kind Regards,
> Eleaz
>
>
>
> _______________________________________________
> libopencm3-devel mailing list
> libopencm3-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libopencm3-devel
>
_______________________________________________
libopencm3-devel mailing list
libopencm3-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopencm3-devel

Reply via email to