9 Sep
2014
9 Sep
'14
1:23 p.m.
Bram Bos wrote:
I’m using ALSA for building a performance musical instrument, so I’m after low-latency audio output.
- I’m using asynchronous audio output (i.e. using a callback).
Don't.
That's an interesting insight. I reckoned using a callback was the most elegant solution since that's what I'm used to for DirectSound, iOS, OSX, WMME, ASIO etc.
If you want to go in that direction, just use JACK.
And the next best alternative would be blocked-mode/polling through ALSA, then?
Yes. (That's what Jack uses; with full duplex, you already need to handle multiple devices.)
Regards, Clemens