[alsa-devel] Asynchronous ALSA - callback and latency questions
Bram Bos
bos3 at upcmail.nl
Tue Sep 9 12:50:14 CEST 2014
> > > > I’m using ALSA for building a performance musical instrument, so I’m
> > > > after
> > > > low-latency audio output.
> > > >
> > > > 1. 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?
I'd prefer to have as few software interface layer dependencies as comfortably
possible, so if I can get away with using only ALSA without requiring JACK that
would be a plus for me.
Thanks
Bram
More information about the Alsa-devel
mailing list