[Webkit-unassigned] [Bug 169849] New: Web Audio ScriptProcessorNode pauses, emits hum after switching audio output device

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 18 12:28:09 PDT 2017


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

            Bug ID: 169849
           Summary: Web Audio ScriptProcessorNode pauses, emits hum after
                    switching audio output device
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Audio
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bvibber at wikimedia.org

We're using Web Audio's ScriptProcessorNode to play audio files that have been decoded in JavaScript dynamically; it works quite well except when the audio output device is changed during playback.

On my MacBook Pro running macOS 10.12.3, I can reproduce this by plugging or unplugging a USB speaker during playback; both directions produce similar results:
* audio stops on the old device
* on the new device, a humming noise may be emitted
* audioprocessing events are no longer delivered

When switching back to the original output device, audioprocessing events continue being delivered, and audio continues as expected.

Simplified test case: https://brionv.com/misc/audio.html

Same results with Safari 10 release version, Technical Preview, and WebKit Nightly.

-- 
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/20170318/e57af045/attachment.html>


More information about the webkit-unassigned mailing list