Re: [LAU] html5 in ff through jack

From: Robin Gareus <robin@email-addr-hidden>
Date: Wed Jun 15 2016 - 18:17:13 EEST

On 06/15/2016 03:02 PM, hollundertee@email-addr-hidden wrote:
> On Wed, 15 Jun 2016 12:18:05 +0200
> Robin Gareus <robin@email-addr-hidden> wrote:
>
>> On 06/15/2016 10:00 AM, Peter P. wrote:
>>> Hi list,
>>>
>>> I have been search the archives and the web a bit and it seems
>>> there is no easy way to route html5 audio playback from firefox
>>> through jack on Debian testing.
>>
>> Wait for another week or three.
>>
>> Firefox/git features native JACK input & output since last week.
>> Largely thanks to Damien Zammit.
>>
>>
>> Cheers!
>> robin
>
> This is barely believable. My experience so far was that browsers allow
> practically no user control over audio whatsoever.
> Given that browsers nowadays are audio/video players, game engines and
> whatnot this is ridiculuous, but also understandable, since browsers
> are supposed to be everything but the kitchen sink (or "die eierlegende
> Wollmilchsau" to use this wonderful German term.
> Web browsers are the very definition of scope creep.
> You can't expect those things to do everything or anything properly.

yep. The the actual browser processing is not RT-safe. There's a buffer
(and resampler) in between jack and the sandboxed browser/engine.

So web-audio javascript etc is not using elevated privileges, probably a
good thing, so it can't take down jack :)

> In which ff version is it supposed to be available? I will try it but I
> won't hold my breath.
>

I don't know.

Firefox (and other mozilla products) uses "cubeb" a Cross platform audio
library for audio i/o. JACK support was merged upstream there:
https://github.com/kinetiknz/cubeb

The --enable-jack configuration option for FF is still sitting here:
https://bugzilla.mozilla.org/show_bug.cgi?id=783733

If you can't wait, just compile your own firefox/iceweasel (apt-get
build-dep... ; apt-get source...)

ciao,
robin

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Jun 15 20:15:01 2016

This archive was generated by hypermail 2.1.8 : Wed Jun 15 2016 - 20:15:02 EEST