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

Re: Firefox over JACK in Debian Testing



On 6/6/2020 11:25 PM, riveravaldez wrote:
Hi, here's the thing:

AFAIK Firefox lacks JACK support (in the sense that you can start
JACK and then Firefox and then, automatically, all I/O audio-ports
Firefox generated, appear as available JACK connections, let's say)

Is there any Debian package that can serve this purpose?
I have a JACK setup that runs all audio through Ardour so I can perform compression and EQ either system-wide or per-application. I accomplish this by using pulseaudio.

If JACK is already running when pulseaudio starts, pulseaudio will create a single JACK sink and JACK source that redirects audio to/from a matching JACK source/sink.

I then use the following script to create additional sinks in PA that each have an independent source in JACK:

------------------
#!/bin/sh

exec pactl load-module module-jack-sink \
  client_name=pulse_sink_"$1" \
  connect=no \
  channels=2
------------------

Run like "./make-jack-sink music" which gives me a "music" PA sink connected to the "music" JACK source.

You don't automatically get a JACK port per audio stream, but you can make as many separate PA sinks as your system can handle and use the PA volume control application to switch audio streams between different PA sinks (and therefore JACK sources).

Then you can wire everything up on the JACK side, as usual.

--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers

If you correspond with me on a regular basis, please read this document: http://www.chrishowie.com/email-preferences/

PGP fingerprint: 2B7A B280 8B12 21CC 260A DF65 6FCE 505A CF83 38F5

------------------------------------------------------------------------
                    IMPORTANT INFORMATION/DISCLAIMER

This document should be read only by those persons to whom it is addressed. If you have received this message it was obviously addressed to you and therefore you can read it.

Additionally, by sending an email to ANY of my addresses or to ANY mailing lists to which I am subscribed, whether intentionally or accidentally, you are agreeing that I am "the intended recipient," and that I may do whatever I wish with the contents of any message received from you, unless a pre-existing agreement prohibits me from so doing.

This overrides any disclaimer or statement of confidentiality that may be included on your message.


Reply to: