andrewrk / libsoundio

C library for cross-platform real-time audio input and output
http://libsound.io/
MIT License
1.92k stars 229 forks source link

add ASIO backend #23

Open andrewrk opened 9 years ago

andrewrk commented 9 years ago

It looks like WASAPI is not always better than ASIO and some people would benefit from ASIO support. However since it always takes over the sound devices, it will be prioritized after WASAPI, meaning that API users will have to explicitly connect to ASIO to utilize it.

adrian-gierakowski commented 8 years ago

ASIO support on windows is absolutely essential for pro audio use cases since with many professional sound cards the only way to achieve low latency is to use ASIO drivers provided by manufacturer

Additionally with ASIO4ALL it is possible to achieve reasonably low latencies with cheap consumer sound cards ( including integrated chips ).

AndrewBelt commented 7 years ago

Does anyone have a fork with this experimental feature? Considering using libsoundio for https://github.com/VCVRack/Rack, and everything seems to work, except lack of of ASIO is a blocker. Thanks!

tzaeru commented 6 years ago

I would also like to switch our audio library of choice from PortAudio to libsoundio. However, our software is distributed to a wide variety of environments, in some of which ASIO support is mandatory. It's the very reason of these complex environments that PortAudio feels like a crutch, since it has poor error reporting, has no events and doesn't expose real device IDs, making it a major PITA to work with in challenging, error-vulnerable environments.

mojbro commented 6 years ago

How likely is it that ASIO support will be implemented? Is it something that is planned?

lp35 commented 5 years ago

Would be really interested by this as well...

npostavs commented 3 years ago

https://github.com/andrewrk/libsoundio/wiki/libsoundio-vs-RtAudio says

The libsoundio project believes that WASAPI is a suitable replacement for ASIO.

Does that mean you don't plan on adding ASIO, or...?