[pulseaudio-discuss] Low latency audio in-out application

Svein Seldal sveinse at seldal.com
Mon Aug 26 06:04:19 PDT 2013


On 08/26/2013 02:36 PM, Tanu Kaskinen wrote:
> No, PA doesn't offer that. Reading and writing to the sound card is
> handled completely separately, from different threads, so there's no
> read/write synchronization in the server either.
>
> You said that you use a dedicated box for the processing, so using the
> default sound server doesn't sound like a hard requirement. In that case
> I recommend using JACK, it's designed for this kind of use cases.

Thanks

Too bad. Using PA is convenient, as it's already integrated into most 
distros. And I am apparently misinterpreting the PA claim "Good low 
latency behaviour" -- but I guess that this depending on the definition 
of low latency...

Dedicated box means that this PC is a prototype for some real-world HW 
DSP device which the software will later be moved to. Working on a linux 
application clearly helps development, debugging and observability.

Perhaps it's best to approach ALSA directly for the lowest latency. Have 
I understood it correctly that PA emulates ALSA, so I need to disable PA 
for that particular sound device before I can access it directly?

OOI: What use has the synchronize stream argument in stream playback?


Best regards,
Svein



More information about the pulseaudio-discuss mailing list