<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 - TOSLINK connected audio pauses or drops to analog connector"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102927">102927</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>TOSLINK connected audio pauses or drops to analog connector
          </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>daemon
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>henjo456@gmail.com
          </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>This issue was originally discussed in a thread on the Gentoo forums:
<a href="https://forums.gentoo.org/viewtopic-p-8120616.html">https://forums.gentoo.org/viewtopic-p-8120616.html</a>

What happens is that the audio now and then pauses before it comes back.
Usually it's gone for a few seconds but some times more than that. I have two
speakers connected using a TOSLINK connector on the motherboard. If an analog
source is connected at the same time audio will switch over to that one
instead. When this occurs the pavucontrol interface shows the message
"Establishing connection to Pulseaudio. Please wait...". The problem seems
specific to Pulseaudio, this does not happen when the Audacious alsa plugin is
used for instance.

I have created two logs running pulseaudio -k && pulseaudio --log-level=4
--log-target=file:pulse.log --start.

Here's a log of the startup of Pulseaudio: <a href="https://pastebin.com/Mu4mT0z8">https://pastebin.com/Mu4mT0z8</a>
Here's a log of the error occurring: <a href="https://pastebin.com/kHykvjyp">https://pastebin.com/kHykvjyp</a>

The problem occurs on Pulseaudio v10.0, v10.99.1 and v11.0, all installed using
Gentoo's package manager portage.

As others suggested in the thread I have tried setting tsched=0' in
/etc/pulse/default.pa and disabled module-suspend-on-idle without any
improvement.

We are at least a handful of Gentoo users who have experienced this so it seems
as if it's not specific to a hardware error on my computer.</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>