[Webkit-unassigned] [Bug 154538] Web Audio restores wrong sample rate and sounds distorted

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 23 09:11:04 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=154538

--- Comment #2 from Jer Noble <jer.noble at apple.com> ---
Ashley,

WebKit uses AVAudioSession to determine the hardware sample rate currently supported by the system. See <https://developer.apple.com/library/ios/qa/qa1631/_index.html>:

"Important: Different hardware can have different capabilities. For example, the internal speaker on the iPhone 6S models only support a sample rate of 48kHz while previous iPhone models supported a collection of sample rates. If you assume current values will always be your preferred values and for example fill our your client format using the hardware format expecting 44.1kHz when the actual sample rate is 48kHz, your application can suffer problems like audio distortion with the further possibility of other failures."

So even if we were able to fix this problem (which we may not, or at least, not at the WebKit level), you will still have to deal with a 48kHz sample rate if your users are playing to an iPhone 6S internal speaker.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160223/6141c4e6/attachment.html>


More information about the webkit-unassigned mailing list