I am using a STM32F103RCT6 board with STM32CubeIDE. I enabled the USB Audio device and the code is working and windows recognized the board as an audio device or speaker.