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@email-addr-hidden>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@email-addr-hidden
> http://lists.linuxaudio.org/listinfo/linux-audio-dev
>
>
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sat Mar 29 12:15:01 2014
This archive was generated by hypermail 2.1.8 : Sat Mar 29 2014 - 12:15:02 EET