Hi Thiago,
Slightly other question: are you *sure* you want to write directly using
the ALSA API?
Generally, writing a JACK[1] client (for linux-pro-audio use-cases), or
RtAudio[2] is a better idea, and easier in my opinion...
They're easier to write to, and abstract away some of the details of the
soundcard settings / channels etc.
HTH, -Harry
[1]
https://github.com/jackaudio/example-clients/blob/master/simple_client.c
[2]
https://www.music.mcgill.ca/~gary/rtaudio/
On Sat, Mar 29, 2014 at 5:00 AM, Thiago Carísio <thiago.carisio(a)gmail.com>wrote;wrote:
Hi! I am Thiago and i'm starting to use the alsa
api. I'm testing one
function to make the sound capture and i got this input/output error. I
don't get it why this is happening...so, please...some kind soul can help
me?
Thanks
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev(a)lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev