[LAD] Input/output error alsa api

Thiago Carísio thiago.carisio at gmail.com
Sat Mar 29 16:22:21 UTC 2014


Hi Harry,

Do you know if there is some rule to compiling using  librtaudio? Because,
there is an error..and i don't know what's wrong. I'm using g++ 4.7.2 and
i'm compiling using:

$ g++<programname.cpp> -o <programname>

The error is: undefined reference to 'RtAudio::RtAudio(RtAudio::Api)' i'm
including the lib in the program, normally!




2014-03-29 11:11 GMT-03:00 Thiago Carísio <thiago.carisio at gmail.com>:

> Hi, Harry!
>
> I don't know...hehe...i'm just was searching for api's and alsa seemed to
> be a good ideia. But, it's a bit difficult. I'm gonna take a look at this
> others api's
>
> Thanks!
>
>
> 2014-03-29 6:07 GMT-03:00 Harry van Haaren <harryhaaren at gmail.com>:
>
> 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 at gmail.com
>> > 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 at lists.linuxaudio.org
>>> http://lists.linuxaudio.org/listinfo/linux-audio-dev
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20140329/6646e89a/attachment.html>


More information about the Linux-audio-dev mailing list