Jedediah wrote:
I'm curious what exactly the problems are with a managed audio API. I'm working on a pro audio app in C# and we're planning to make a managed wrapper for ASIO (and I guess for wasapi too). If it's not going to work, I'd like to know now!
The big problem with a managed solution is that it's a managed environment.
What does your app plan on doing when GC comes along and blocks access to your audio buffer for 10 milliseconds? What happens when the jitter decides to re-gen your IL code?
If you're trying to do low latency audio, it's critical that all the memory and code involved be locked down in memory so that you don't incur paging hits. But in a managed environment, it is difficult to achieve that goal.