Re: [LAD] Getting jack samplerate and buffersize with portaudio.

From: Victor <Victor.Lazzarini@email-addr-hidden>
Date: Sat Mar 17 2012 - 12:13:00 EET

I think it depends on whether you are happier with C or C++. I like portaudio and have used it quite a bit as a simple way to add realtime audio to C programs.

Victor

On 17 Mar 2012, at 01:12, Rafael Vega <email.rafa@gmail.com> wrote:

> Let me rephrase that:
> Is RTAudio any better than PortAudio for implementing JACK clients?
> Salud!
>
>
> On Fri 16 Mar 2012 07:47:26 PM COT, Rafael Vega wrote:
>> I want to learn an api that is as cross-platform as possible, ideally
>> that includes iOS and Android.That's why I started looking at Portaudio.
>> I started with JACK because i can use other jack apps to help debug my
>> code.
>> Do you guys have a better alternative for cross-platform devel?
>> Perhaps RTAudio?
>> Thanks for the advise!
>>
>>
>>
>> OiOn Fri 16 Mar 2012 06:55:37 PM COT, Fons Adriaensen wrote:
>>> On Fri, Mar 16, 2012 at 05:38:10PM -0500, Rafael Vega wrote:
>>>
>>>> Hello. I'm using portaudio19 to write an app that connects to jack (and
>>>> alsa) and I can't find anywhere in the portaudio api a way to ask jack
>>>> for the current samplerate and buffersize.
>>>>
>>>> ¿Am I missing something obvious?
>>>>
>>>> ¿Do I have to use the jack api to get these params and then be able to
>>>> use the portaudio api for starting a stream, implementing the audio
>>>> callback, etc?
>>>
>>> Portaudio's Jack support is completely borked. If you do not
>>> intend to use its cross-platform features, please spare us
>>> the misery of yet another Linux app using it.
>>>
>>> Just use Jack's native API. When you've got that working, and
>>> you want ALSA as well, use the zita-alsa-pcmi library. This
>>> will allow you to share 99% of your code for ALSA and Jack.
>>>
>>> Ciao,
>>>
>>
>>
>
>
>
> _______________________________________________
> Linux-audio-dev mailing list
> Linux-audio-dev@lists.linuxaudio.org
> http://lists.linuxaudio.org/listinfo/linux-audio-dev
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sat Mar 17 12:15:02 2012

This archive was generated by hypermail 2.1.8 : Sat Mar 17 2012 - 12:15:02 EET