<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Clipping with per-stream volume above 100% even though device volume below 100%"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97777#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Clipping with per-stream volume above 100% even though device volume below 100%"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97777">bug 97777</a>
              from <span class="vcard"><a class="email" href="mailto:bugs.freedesktop@haasn.xyz" title="Niklas Haas <bugs.freedesktop@haasn.xyz>"> <span class="fn">Niklas Haas</span></a>
</span></b>
        <pre>An update:

I realized that if I set my device profile in pavucontrol's configuration tab
from “Analog Output” to “Digital Output”, pulseaudio will stop using the
device's built-in output volume adjustment and instead use software volume
adjustment.

This solves #3 of my problem, meaning I can now set my device volume to -10 dB,
and my stream to +10dB, and get no clipping artifacts.

However, it leaves #4 of my issue, which is that out-of-range floats are
clipped by PulseAudio (or if not pulseaudio, then the pulseaudio client). It
does seem like the signal format is to be described as explicitly being in
[-1,1] even for floats in the documentation here:
<a href="https://freedesktop.org/software/pulseaudio/doxygen/sample_8h.html#a41051ceaa5cfbe60c9b176deb7bfed0e">https://freedesktop.org/software/pulseaudio/doxygen/sample_8h.html#a41051ceaa5cfbe60c9b176deb7bfed0e</a>

Could that restriction be conceivably dropped? I would love to be able to send
out-of-range floats and have PulseAudio mix them without clipping.</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>