gecko/content
Ehsan Akhgari a974ee8086 Bug 849713 - Part 5: Implement the looping logic in AudioBufferSourceNodeEngine; r=roc
The logic in this function is mostly around the mLoop variable.  mLoop being
NotLooping means that the playback of this node is never going to loop, in
which case the logic doesn't change compared to the ProduceAudioBlock function
before this patch.

If the loop mode is turned on when start() is called, mLoop will initially be
WillLoop.  In that case, we play back until mLoopEnd, and then we will wrap
around to mLoopStart, set mLoop to be IsLooping, and start playback again.
From that point on, mLoop will always be IsLooping, and we will loop between
mLoopStart and mLoopEnd.  Where possible, we'll just use BorrowFromInputBuffer
to avoid copying the buffer, and if we hit the edges right around the time that
we loop, we copy some frames from the end of the input buffer and some from the
beginning in the memcpy loops at the end of the ProduceAudioBlock function.
2013-03-10 21:02:22 -04:00
..
base Bug 783059 - Plugin instantiation tests for embed/object tags. r=josh 2013-03-11 11:47:36 -07:00
canvas Bug 845486 - webgl conformance crashes frequently on ubuntu VMs. r=jgilbert 2013-03-07 12:22:55 -05:00
events Bug 847600 - Remove SVGEvent, r=jwatt 2013-03-11 20:57:08 +02:00
html Bug 849519 - Raise INDEX_SIZE_ERR if media element volume is set to NaN. r=doublec 2013-03-11 11:11:23 +13:00
mathml Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
media Bug 849713 - Part 5: Implement the looping logic in AudioBufferSourceNodeEngine; r=roc 2013-03-10 21:02:22 -04:00
smil Bug 822399 - Make Event to use Paris bindings, r=peterv 2013-03-09 13:34:29 +02:00
svg Bug 847600 - Remove SVGEvent, r=jwatt 2013-03-11 20:57:08 +02:00
test Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
xbl Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey 2013-03-10 09:00:33 +01:00
xml Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
xslt Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
xul Back out bug 846890 for reftest orange 2013-03-08 21:27:25 -08:00
Makefile.in Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
moz.build Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00