Kalle Raiskila

USB Audio microphone

Discussion created by Kalle Raiskila on May 4, 2017
Latest reply on Aug 31, 2017 by Laurence Blaxter

Hi all.


After a considerate amount of banging my head against walls, I finally managed to add a microphone (i.e. audio IN stream)

to the AudioClass code CubeMX generates.

I'm attaching the code as a patch to what CubeMX generated for me (YMMV). This is tested only to the extent that ramp data appears on the host side when recording. I wanted to share while it wasn't application specific.


the patch is licensed under a standard "Free Beer, v42" license, enjoy.