Closed Bug 1253578 Opened 8 years ago Closed 8 years ago

Sometimes a Web Audio API Oscillator node plays and makes a sound, other times there is no sound

Categories

(Core :: Web Audio, defect)

47 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1218593

People

(Reporter: steve, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

Steps to reproduce:

Using latest nightly build (v47.0a1) on Windows, 64 bit. Build ID 20160302030209.
Also occurs in v44.0.2, Windows, 64 bit. Build ID 20160210153822.

1. create a new AudioContext
2. create an OscillatorNode and connect it to the AudioContext.destination [node plays]
3. close the AudioContext
4. create a new AudioContext
5. create an OscillatorNode and connect it to the AudioContext.destination [problem occurs]
6. close the AudioContext
7. goto 1

The issue is demonstrated here: https://jsfiddle.net/scp93ch/u33khudp/


Actual results:

the first oscillator plays and the loudspeaker icon can be seen in the tab.

The second oscillator "plays" in that the loudspeaker icon in the tab can be seen to appear and disappear but no sound is heard. Repeating this sequence alternates between a sound being heard and no sound.


Expected results:

Sound should be heard for every OscillatorNode.
Works fine in Chrome.
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Component: Untriaged → Web Audio
Product: Firefox → Core
Reproduced on Win 7 with 2015-10-01 32-bit Nightly from 096c0f407f8b.
Didn't reproduce with 2016-01-05 32-bit Nightly from 9d6ffc7a08b6.
You need to log in before you can comment on or make changes to this bug.