Re: Exemple of source code for capture without using callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/10/20 brunal2496 gmail <brunal2496@xxxxxxxxx>:
>
> I'm trying to interface a voice recognition software with the alsa
> drivers.
>
> 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.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux