<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Audio restores wrong sample rate and sounds distorted"
   href="https://bugs.webkit.org/show_bug.cgi?id=154538#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Audio restores wrong sample rate and sounds distorted"
   href="https://bugs.webkit.org/show_bug.cgi?id=154538">bug 154538</a>
              from <span class="vcard"><a class="email" href="mailto:jer.noble&#64;apple.com" title="Jer Noble &lt;jer.noble&#64;apple.com&gt;"> <span class="fn">Jer Noble</span></a>
</span></b>
        <pre>I ran your test case against an iPhone 6S running iOS 9.2, and observed the following behavior:

Playing to the internal speaker.
1. Load page, hit OK.
2. Sample rate is 48kHz, no distortion.
3. Plug in headphones.
4. Distortion observed over headphones.
5. Unplugged headphones (restoring playback to the internal speaker).
6. Distortion disappeared.

However:

Playing over headphones.
1. Load page, hit OK.
2. Sample rate is 44kHz, no distortion.
3. Unplug headphones.
4. Distortion observed over internal speaker.
5. Plug in headphones.
6. Distortion disappeared.

So this appears to validate the theory that the audio hardware sample rate is changing dynamically between 44.1kHz and 48kHz and causing the distortion.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>