<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 29.04.20 10:57, Jim Kent wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACQKXoDHn75_K0g2=W7KV5xcR2T7KePjtHV4BQP5rQ7ABW4DOw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM">I have a question about
how Pulseaudio functions between sound hardware and
applications in Linux and spins. I noticed both Firefox and
Chromium internally report many hardware details, including
the sound output chipset and connected Bluetooth devices (with
unique identifiers).</p>
</div>
</blockquote>
<p>I am not sure this information is taken from pulseaudio. If you
do "pactl list sinks", you can<br>
see what is exposed to clients.<br>
</p>
<blockquote type="cite"
cite="mid:CACQKXoDHn75_K0g2=W7KV5xcR2T7KePjtHV4BQP5rQ7ABW4DOw@mail.gmail.com">
<div dir="ltr">
<p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM">I assumed that
Pulseaudio behaved as an opaque interface between software and
hardware, in other words, applications send and receive inputs
and outputs to Pulseaudio, which in turn mixes and exclusively
communicates with sound hardware. Instead, I have noticed many
instances where browsers exhibit unintended control over sound
outputs, for instance, playing a youtube video will sometimes
abruptly disconnect a Bluetooth headset.</p>
</div>
</blockquote>
This sounds weird and I never heard about such a behavior. If the
browser is doing such things it is certainly<br>
not through PA. A disconnect may happen if there are issues with the
bluetooth connectivity, but in that case<br>
the problem should not be application related and is below the PA
level.<br>
<blockquote type="cite"
cite="mid:CACQKXoDHn75_K0g2=W7KV5xcR2T7KePjtHV4BQP5rQ7ABW4DOw@mail.gmail.com">
<div dir="ltr">
<p class="gmail-_1qeIAgB0cPwnLhDF9XSiJM">Is this behavior by
design? Is it possible to sandbox applications from the sound
hardware so that they only communicate and have a view of
Pulseaudio, rather than the underlying hardware? Could
something like Jack accomplish this?</p>
</div>
</blockquote>
<br>
</body>
</html>