<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 --- - pa_sink_update_rate() suspend the sink but we rely on module-suspend-on-idle to unsuspend it"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=64118">64118</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>pa_sink_update_rate() suspend the sink but we rely on module-suspend-on-idle to unsuspend it
          </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>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jjardon@gnome.org
          </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>core
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I see this trying to play a 48000 stream:

I//system/bin/pulseaudio(  250): D: [pulseaudio] sink.c: Suspend cause of sink
hp_wireless is 0x0004, suspending
I//system/bin/pulseaudio(  250): I: [alsa-sink] alsa-sink.c: Device
suspended...
I//system/bin/pulseaudio(  250): I: [pulseaudio] alsa-sink.c: Updating rate for
device hw:1,0, new rate is 48000
I//system/bin/pulseaudio(  250): I: [pulseaudio] sink.c: Changed sampling rate
successfully
I//system/bin/pulseaudio(  250): I: [pulseaudio] resampler.c: Using resampler
'speex-fixed-1'
I//system/bin/pulseaudio(  250): I: [pulseaudio] resampler.c: Using s16le as
working format.
I//system/bin/pulseaudio(  250): I: [pulseaudio] resampler.c: Choosing speex
quality setting 1.
I//system/bin/pulseaudio(  250): D: [pulseaudio] memblockq.c: memblockq
requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1
maxrewind=0
I//system/bin/pulseaudio(  250): D: [pulseaudio] memblockq.c: memblockq
sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4
maxrewind=0
I//system/bin/pulseaudio(  250): D: [pulseaudio] sink-input.c: Updated
resampler for sink input 1
I//system/bin/pulseaudio(  250): D: [alsa-sink] sink-input.c: Requesting rewind
due to uncorking
I//system/bin/pulseaudio(  250): D: [alsa-sink] protocol-native.c: Requesting
rewind due to end of underrun.
I//system/bin/pulseaudio(  250): D: [alsa-sink] protocol-native.c: Requesting
rewind due to end of underrun.

So pulseaudio suspend the sink to change the rate but it doesnt get unsuspended
Loading module-suspend-on-idle fix the problem</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>