[alsa-devel] Exemple of source code for capture without using callback
james.dutton at gmail.com
Thu Oct 22 16:40:05 CEST 2009
2009/10/20 brunal2496 gmail <brunal2496 at gmail.com>:
> I'm trying to interface a voice recognition software with the alsa
> I have to get audio from alsa convert it and then send to the
> recognition engine.
> I've read everywhere that using callback is a bad method to use the
> alsa drivers.
This is wrong. callback is the best method.
With current distributions all doing pulseaudio, it would probably be
better interfacing with pulse.
If you need a more professional real time interface, use jackd interface.
For what you need, jackd is probably the simplest api to use.
More information about the Alsa-devel