<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 --- - Alternate sample rate fails with PA_STREAM_FIX_RATE flag"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=75954">75954</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>Alternate sample rate fails with PA_STREAM_FIX_RATE flag
          </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>courmisch@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

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

        <tr>
          <th>Component</th>
          <td>daemon
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr></table>
      <p>
        <div>
        <pre>SYSTEM:

HDA Intel / Realtek ALC887 card (stereo)
Linux kernel 3.13.6
Debian (Sid) on x86-64
PulseAudio 4.0 with default settings


STEPS TO REPRODUCE:

1) (re)start the PulseAudio daemon (pulseaudio -k)
-> the HDA sink input is initialized as: s16ke 2ch 44100Hz

2) play a stream at 48000kHz
-> the HDA sink input rate is changed to 48000Hz

3) stop the stream

4) play a stream at 22050Hz with PA_STREAM_FIX_RATE flag
-> the HDA sink input rate stays at 48000Hz (wrong) and the timing is totally
off, as if the card was 44100Hz. With VLC this causes continuous pitch shifts.

Note: If PA_STREAM_FIX_RATE is not used, then PulseAudio correctly reverts to
44100Hz output.</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>