<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 --- - lag between analog and digital outputs using module-combine-sink"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64017">64017</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>lag between analog and digital outputs using module-combine-sink
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

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

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

        <tr>
          <th>Reporter</th>
          <td>lynx.light0@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

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

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

        <tr>
          <th>Component</th>
          <td>core
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Setting up simultaneous analog and digital output results in relative lag
between the analog and digital outputs on my Nforce2 motherboard with onboard
sound. 

This is using the example provided in the pulseaudio archlinux wiki, here:

<a href="https://wiki.archlinux.org/index.php/PulseAudio/Examples#Simultaneous_HDMI_and_Analog_Output">https://wiki.archlinux.org/index.php/PulseAudio/Examples#Simultaneous_HDMI_and_Analog_Output</a>

.. with the following "default.pa" entries:

### Load analog device
load-module module-alsa-sink device=hw:0,2
load-module module-combine-sink sink_name=combined
set-default-sink combined

I can be watching a movie on VLC and a relative delay between analog and
digital outputs can develop, so that a sound will come out one set of speakers
half a second after they come out the other, making movies unwatchable. A fast
way to make the problem occur is to change tracks on Clementine, making use of
the crossfade feature, resulting in an element of mixing. The relative lag is
non-fixed and sporadic. 

This problem does not occur using a custom .asoundrc to setup simultaneous
digital and analog output using ALSA without Pulseaudio.</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>