<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Pulseaudio glitches volume of non-alsa applications when all alsa applications quits"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=58313">58313</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Pulseaudio glitches volume of non-alsa applications when all alsa applications quits
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ntrrgc@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>alsa
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Steps to reproduce:
0. If you have any sound applications running, quit them.
1. Open a pulseaudio application. Most modern linux music players will suffice,
like mplayer or rhythmbox. Play something loud.
2. Use pavucontrol to lower the volume of the application (not the card!) at
low but hearable one. Assert yourself the card volume is set at maximum in
pavucontrol.
3. Launch an alsa application, i.e. mplayer -ao alsa.
4. Quit it. You may hear a glitch for a fraction of second. I suspect this
glitch comes from pulseaudio playing a piece of the sound buffer at maximum
volume, regardless of which volume has the application set.

This is less noticeable the higher the volume of the pulseaudio application is.

This is very annoying with IM clients like gajim and Psi+, which play message
notification sounds with alsa.

Ugly workaround (and hint):
If you run an alsa application and let it running, appearing at pavucontrol,
but without playing anything (i.e. run mplayer -ao alsa, and let it paused), no
glitch will be heard, since it only happens when *all* alsa applications have
quit.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>