On 4/29/21 3:46 PM, Gerd Hoffmann wrote: > Hmm. Not so easy I suspect. While most sound cards map to a single > device there are exceptions. pcspk is build-in and hda is two devices.
What do you mean by "pcspk is build-in"? Do you mean "the 'pcspk' audiodev is build in the 8254 PIT device"? (see pcspk_audio_init). FWIW I'm using this device as example to work on the PWM API, and I see the AUD API as a generic DSP processing one. And in my TODO I have "split pcspk audiodev backend from 8254".