Re: [LAD] PortAudio experience

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Michael Ost <most@...>
Cc: <linux-audio-dev@...>
Date: Tuesday, January 12, 2010 - 8:11 pm

On 01/12/2010 07:15 PM, Michael Ost wrote:

PortAudio on Linux is very reliable in my experience. It's rather easy to
program with, although I personally dislike its massive-camel-case syntax.

Latency is quite ok. PortAudio actually gives you hints on low and high
latencies for a particular device. For instance, on a HDA Intel consumer
soundcard, it ranges from 10ms to 45ms. I'm using the high one in my app,
although I can't remember exactly why ATM.

But as others are saying in this thread, nowadays a Linux app really needs JACK
support, and you shouldn't rely on Portaudio for this purpose, because it
doesn't play well with the JACK ports paradigm.

Another reason you might want to add JACK support (perhaps in addition to
PortAudio) is that unless I missed something it is still required by FFADO for
firewire devices support.

> Our product (Receptor) is used in live situations by non-programmers, so

I've now maintained a JACK app, namely Jackbeat, for several years, and although
it doesn't have a massive user base, I can tell you that JACK can indeed be
tricky for some linux/audio newbies.

This is why I've added extra options: PortAudio and PulseAudio. This way, the
user can get the app up and running in seconds. But if he/she wants more (lower
latency, connecting with other JACK apps, etc..), then he can switch to JACK,
which is easily performed in many cases.

I think this is the way it happens in many circumstances, not only on Linux: an
easy default is provided, and one can optimize his/her setup with a few efforts.

--
Olivier

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] PortAudio experience, Michael Ost, (Tue Jan 12, 6:15 pm)
Re: [LAD] PortAudio experience, Olivier Guilyardi, (Tue Jan 12, 8:11 pm)
Re: [LAD] PortAudio experience, Victor Lazzarini, (Wed Jan 13, 11:58 pm)
Re: [LAD] PortAudio experience, Michael Ost, (Tue Jan 12, 8:14 pm)
Re: [LAD] PortAudio experience, , (Tue Jan 12, 6:55 pm)
Re: [LAD] PortAudio experience, Paul Davis, (Tue Jan 12, 6:24 pm)
Re: [LAD] PortAudio experience, Michael Ost, (Tue Jan 12, 6:29 pm)
Re: [LAD] PortAudio experience, Paul Davis, (Tue Jan 12, 6:38 pm)
Re: [LAD] PortAudio experience, St├ęphane Letz, (Tue Jan 12, 7:33 pm)
Re: [LAD] PortAudio experience, Michael Ost, (Tue Jan 12, 7:21 pm)
Re: [LAD] PortAudio experience, St├ęphane Letz, (Tue Jan 12, 7:20 pm)
Re: [LAD] PortAudio experience, Paul Davis, (Tue Jan 12, 7:45 pm)