<div dir="ltr"><div class="gmail_default" style="font-size:small">Hello pulse</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I'm not sure if it's a bug or not but, I did google around for about an hour.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I noticed that whenever I have a device configured with the S/PDIF profile (iec958), PulseAudio uses 100% cpu (2 threads 50% each)</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I have a cheap USB device with optical audio support</div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace"><span style="color:rgb(0,0,0)">Bus 003 Device 011: ID 0d8c:0012 C-Media Electronics, Inc. USB Audio Device
</span><br>Bus 003 Device 010: ID 0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device</span></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Here's how top looks when anything is grabbing the output, even if it's a paused video. As soon as I close the tab it disappears from top.</div><div class="gmail_default" style="font-size:small"><span style="font-family:monospace"><span style="color:rgb(0,0,0)">PID PRI NI VIRT RES SHR S CPU%▽MEM% TIME+ Command
</span><br>1820 9 -11 2218M 46576 28064 S 51.5 0.1 3h41:07 /usr/bin/pulseaudio --daemonize=no --log-target=journal
<br>55780 -6 0 2218M 46576 28064 S 50.9 0.1 6:23.43 /usr/bin/pulseaudio --daemonize=no --log-target=journal</span></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I changed the profile of my USB headphones to use iec958 and I could see pulseaudio again using 100% cpu even though I only hear noise because the headphones don't support it.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">So my guess is that it's got something to do with the iec958 encoding.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Any ideas?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I'm on Debian stable <span style="color:rgb(0,0,0);font-family:monospace">bookworm</span> with KDE Plasma</div><div><br></div><div><div class="gmail_default" style="font-size:small">Regards</div><br></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Do not let me induce you to satisfy my curiosity, from an expectation, that I shall gratify yours. What I may judge proper to conceal, does not concern myself alone.</div></div>