<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - loopback on ladspa-sink: huge, persistent delay introduced by VT switch"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104408">104408</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>loopback on ladspa-sink: huge, persistent delay introduced by VT switch
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>modules
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>dap78@magex.hu
          </td>
        </tr>

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

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I use the following "chain" for VoIP audio processing:

# VoIP apps: higher tone
load-module module-ladspa-sink sink_name=spk-voip-eq-out plugin=mbeq_1197
label=mbeq
control=-30.0,-19.1,-18.6,-18.6,-18.6,-10.0,-8.0,-6.5,1.5,1.5,1.5,8.5,10.6,10.6,10.6
# VoIP apps: joint volume control
load-module module-null-sink sink_name=spk-voip-vol-out
sink_properties='device.description="Speaker VoIP Volume Out"'
load-module module-loopback source=spk-voip-vol-out.monitor
sink=spk-voip-eq-out latency_msec=4

The problem is a huge, persistent, 100% reproducible delay that appears on the
loopback after VT switch. The delay could be 5 seconds or even more, followable
on volume meters of pavucontrol. No problem if loopback's sink is other
loopback or hardware device instead of ladspa-sink OR user is a member of the
`audio` group thus access is not suspended on VT switch. Need to restart
pulseaudio to get rid of the introduced delay. Temporary moving of loopback's
sink to other loopback or hardware device eliminates the delay but it returns
after restore. Pulseaudio does not log anything that worth to mention.

I have nothing special in my PA config but I can share as is if necessary.
Fedora 27, pulseaudio-11.1-7.fc27.x86_64</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>