Wouldn't a virtual sound card solve this? I was thinking of representing all DSP elements in a virtual card.
I think it would work to certain extend but what if DSP can instantiate elements at run-time, how can we deal with this use case under current ALSA framework?
Yes, exactly - handing runtime changes is a big issue, as is discoverability.
Wow. Run-time changes and discoverability? This sounds wild. what type of solutions are we talking about here? All the DSP implementations I've seen are pretty dumb, the firmware is downloaded at the request of the host when a specific service is requested; discoverability isn't an issue since the driver and possibly user-space know what's been downloaded and how the downloaded parts interact with the rest of the firmware.