Closed Bug 937054 Opened 11 years ago Closed 11 years ago

Web Audio buffer playback is cracking.

Categories

(Core :: Web Audio, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 848954

People

(Reporter: jujjyl, Unassigned)

Details

1. Visit https://dl.dropboxusercontent.com/u/40949268/Bugs/long_beep.html
2. Press Start audio.

Result: During the audio playback, cracks/snaps are audible while the audio clip plays out. Tested on FF25.0 and Nightly 2013-11-10.

Expected: The page should play back a glitch-free 20 second sine wave.
Hi Karl & Paul -- Can you look into this report?  Jukka also reported Bug 937057 and Bug 937061 which are related to this bug.
Flags: needinfo?(paul)
Flags: needinfo?(karlt)
This might be a dupe of bug 848954.
I'm not reproducing here, on Linux, but yes, without bug 848954 random issues like this are likely.
Depends on: 848954
Flags: needinfo?(karlt)
I do get this occasionally, usually more likely soon after page load, and when it happens BufferedAudioStream::DataCallback() reports an underrun.

http://hg.mozilla.org/mozilla-central/annotate/6b6bb661fd3d/content/media/AudioStream.cpp#l991
Status: NEW → RESOLVED
Closed: 11 years ago
No longer depends on: 848954
Resolution: --- → DUPLICATE
We should really land some debugging printfs in that code which tells you when this happens.  I've had to verify this bug at least 50 times thus far... :/
NSPR_LOG_MODULES=AudioStream:3 if it is a debug build.
Flags: needinfo?(paul)
You need to log in before you can comment on or make changes to this bug.