<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Very low volume with jack sink"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97352#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Very low volume with jack sink"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97352">bug 97352</a>
              from <span class="vcard"><a class="email" href="mailto:trondsg+bugzilla+freedesktop@gmail.com" title="trondsg+bugzilla+freedesktop@gmail.com">trondsg+bugzilla+freedesktop@gmail.com</a>
</span></b>
        <pre>1.
Ok, thanks.

However, after loading the pulseaudio equalizer module, I still had an episode
with "low"
volume using the jack sink EVEN when it was set to 100%. The spotify source
changed volume
from 55% to 74% automatically when starting jack, but the actual volume (from
speakers)
didn't increase.
A few seconds later I can't reproduce it. The heard volume is now consistent
with the %.

2.
The source spotify (listed in the playback tab of the volume control) was
behaving
strangely. Every time I stopped/started jack it would reset to 14%. Today it
works
properly, though. The volume stays the same unless I change it.

A little testing: After loading the pulseaudio equalizer module is loaded,
the stream does not preserve its volume when changing from "built-in audio
analog stereo"
to jack sink.

But the next day, this works properly, even with the equalizer module is
loaded.

3.
You're right, PA used 16-bit and Jack 32-bit. After setting PA to use 32-bit I
can
no longer hear a difference.

# pulseaudio
~$ cat /proc/asound/card1/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 8192
buffer_size: 16384

# jack
~$ cat /proc/asound/card1/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 8
rate: 44100 (44100/1)
period_size: 256
buffer_size: 768

# pulseaudio with 32-bit
~$ cat /proc/asound/card1/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
period_size: 4096
buffer_size: 8192

However, this isn't a solution, because it messed up the volume control:

I got a feeling that the volume from Spotify was somehow louder than it should
be, compared to adobe flash.
After a while I discovered that the volume of spotify stream had somehow been
tied loosely to analog output. So that when changing either, both changed (but
not in a predictable way). Spotify was set to 38% and Analog output at 83%.
When changing analog output to 80%, Spotify was changed to 37%.

Increasing the volume of spotify also increased the volume of analog output
(even to beyond 100%).
Example: Analog output was set to -32dbA, after increasing the volume of
spotify on the playback tab, it was set to -22dbA.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>