Using PulseAudio for patchbay between a lot of clients

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am developing an app for which I need to route sound between many
different processes. Basically I need to do similar things as with JACK.
Clients just play a song or capture it and save or/and send over internet
(these clients are based on GStreamer). The system can have +/- 500
PulseAudio clients at one machine. Latency is not critical but should be
kept below +/- 40ms. In the future we would also like to route sound
between PulseAudio instances.

We use JACK at the moment but it is not reliable. JACK1 is not asynchronous
and will cause drops on some causes, JACK2 is full of hardcoded limitations
and assumptions and tends to hang above 100 clients. Logging is scarce and
its overall architecture seems to be not valid for such use case and it
does not allow us to use more sophisticated modules that PulseAudio
provides.

So we would like to migrate to the most recent PulseAudio and use
module-loopback and/or module-combine-sink to perform routing between apps.

Any suggestions on how PulseAudio should be configure to handle such load
(assuming that underlying hardware has enough resources). What issues I may
encounter?

Thank you in advance,

Marcin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20160627/d0bfe0b7/attachment.html>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux