gecko/content/media
Karl Tomlinson 0935b39ced b=857610 handle DelayNode channel count changes and separate buffer read and write r=padenot
The basic idea is to write out the signal that came in with the same number of
channels as it had when it came in.  Things get a bit more complicated when
one output block may be derived from more than one input block, each having
different numbers of channels.  When this happens, the input blocks with fewer
channels are upmixed, so as not to lose (or distort) any signal in the block
with more channels.

HRTFPanner no longer uses exponential decay (with time constant 20ms) for
delay changes, but a smoother linear transition during cross-fade time (~45ms).

--HG--
rename : content/media/webaudio/DelayProcessor.cpp => content/media/webaudio/DelayBuffer.cpp
rename : content/media/webaudio/DelayProcessor.h => content/media/webaudio/DelayBuffer.h
extra : rebase_source : 18453d631779cd7d0672b5325e110b107ab4237d
2014-03-05 10:06:57 +13:00
..
apple Bug 960873: Part 7: Reduce apple mp3 MAX_AUDIO_FRAMES to minimize alloc slop. r=cpearce 2014-02-05 18:11:25 -05:00
directshow Bug 978647 - Properly handle EOF in DirectShow backend. r=edwin 2014-03-03 19:57:10 +13:00
encoder Bug 970774 - Add display width/height for track encoder. r=rillian 2014-02-21 14:27:41 +08:00
fmp4 Bug 935778 - Part 0.4: Spray even more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-21 09:11:33 -05:00
gstreamer Bug 975928 - Use our estimate for MP3 duration rather than GStreamer's for buffered range end when fully buffered in MP3/GStreamer. r=alessandro.d 2014-02-26 13:36:54 +13:00
gtest Bug 960873: Part 3: AudioCompactor gtest unit tests. r=cpearce 2014-02-05 18:11:25 -05:00
mediasource Bug 976037 - Implement an eviction algorithm for media source extensions - r=kinetik 2014-02-28 13:54:48 +13:00
ogg Bug 976350 patch 1: Move the contents of nsTraceRefcnt.h into nsISupportsImpl.h. r=bsmedberg 2014-02-26 13:36:35 -08:00
omx Bug 977596 - Fix build failure on flatfish r=jmuizelaar 2014-02-27 13:26:22 -08:00
plugins Bug 970076 - Set preferred video colour format for OMX on Android 4.2 and 4.3 r=doublec 2014-02-19 17:11:42 +13:00
raw Bug 952033 - Part c: Use IntSize and IntRect in VideoData; r=roc 2014-02-09 09:04:38 +01:00
test Bug 969706 - Playback may reach end before pref change is completed thus no more timeupdate events. Set loop to true to keep playing. r=padenot 2014-03-04 11:11:19 +08:00
wave Bug 966311 - Calculate frame size for stereo wave. r=doublec 2014-01-31 13:50:45 -08:00
webaudio b=857610 handle DelayNode channel count changes and separate buffer read and write r=padenot 2014-03-05 10:06:57 +13:00
webm Bug 970774 - Add display width/height for track encoder. r=rillian 2014-02-21 14:27:41 +08:00
webrtc Bug 970183: Support phone rotation in gUM at start of capture r=slee,cjku,jesup 2014-02-25 02:22:36 -05:00
webspeech Bug 977314 - Serve all media mochitest files with 'Cache-Control: no-store' header, so Necko doesn't mess with our byte-range-request detection code. r=kinetik 2014-02-27 16:06:03 +13:00
webvtt Bug 865407 - Part 8: Update vtt.js to latest version. r=rillian 2014-02-21 22:11:06 -05:00
wmf Bug 968016 - Add a parameter to SharedThreadPool to control the number of threads in the pool. r=kinteik 2014-02-18 11:53:52 +13:00
AbstractMediaDecoder.h
AudioAvailableEventManager.cpp
AudioAvailableEventManager.h Backed out changeset 2e2c930a960c (bug 948269) for android 4.0 mochitest-2 permaorange 2013-12-19 19:24:42 -08:00
AudioChannelFormat.cpp
AudioChannelFormat.h
AudioCompactor.cpp Bug 960873: Part 2: Create AudioCompactor class to minimize allocation slop. r=cpearce 2014-02-05 18:11:25 -05:00
AudioCompactor.h Bug 960873: Part 2: Create AudioCompactor class to minimize allocation slop. r=cpearce 2014-02-05 18:11:25 -05:00
AudioEventTimeline.h
AudioNodeEngine.cpp b=933304 Remove unnecessary channel count parameter from AudioBlockInPlaceScale r=padenot 2014-01-28 18:14:25 +13:00
AudioNodeEngine.h b=933304 Remove unnecessary channel count parameter from AudioBlockInPlaceScale r=padenot 2014-01-28 18:14:25 +13:00
AudioNodeEngineNEON.cpp b=956604 Remove unnecessary channel count parameter from AudioBufferInPlaceScale r=padenot 2014-01-08 16:57:53 +13:00
AudioNodeEngineNEON.h b=956604 Remove unnecessary channel count parameter from AudioBufferInPlaceScale r=padenot 2014-01-08 16:57:53 +13:00
AudioNodeExternalInputStream.cpp Bug 943461. Part 5: Don't allow a stream to finish before it has produced output up to mStateComputedTime. r=padenot 2013-12-06 09:23:57 +13:00
AudioNodeExternalInputStream.h Bug 943461. Part 5: Don't allow a stream to finish before it has produced output up to mStateComputedTime. r=padenot 2013-12-06 09:23:57 +13:00
AudioNodeStream.cpp b=913854 pass start time as double parameter and subsample align r=padenot 2014-02-27 11:45:04 +13:00
AudioNodeStream.h b=857610 handle DelayNode channel count changes and separate buffer read and write r=padenot 2014-03-05 10:06:57 +13:00
AudioSampleFormat.h
AudioSegment.cpp
AudioSegment.h b=857610 handle DelayNode channel count changes and separate buffer read and write r=padenot 2014-03-05 10:06:57 +13:00
AudioStream.cpp b=966867 don't overwrite preferred sample rate with default r=kinetik 2014-02-03 17:40:03 +13:00
AudioStream.h Backed out changeset 2e2c930a960c (bug 948269) for android 4.0 mochitest-2 permaorange 2013-12-19 19:24:42 -08:00
AudioStreamTrack.cpp
AudioStreamTrack.h
BufferDecoder.cpp
BufferDecoder.h
BufferMediaResource.h
DecoderTraits.cpp Bug 964559 - Remove MOZ_OGG. r=doublec,ted 2014-02-20 18:01:00 -08:00
DecoderTraits.h
DOMMediaStream.cpp Bug 879669 - Part 1: Don't callback if there is no track in MediaStream. r=roc 2013-11-23 09:14:29 +13:00
DOMMediaStream.h Bug 879669 - Part 1: Don't callback if there is no track in MediaStream. r=roc 2013-11-23 09:14:29 +13:00
EncodedBufferCache.cpp
EncodedBufferCache.h
FileBlockCache.cpp
FileBlockCache.h
Latency.cpp Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc 2014-01-04 10:02:17 -05:00
Latency.h Bug 953130 - Fix system NSPR builds for content/media. r=rjesup 2014-01-02 09:14:52 +01:00
Makefile.in Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium 2014-03-02 15:41:32 -05:00
MediaCache.cpp Bug 969114: Avoid allocation slop in MediaCacheStream. r=cpearce DONTBUILD 2014-02-10 22:43:52 -08:00
MediaCache.h Bug 969114: Avoid allocation slop in MediaCacheStream. r=cpearce DONTBUILD 2014-02-10 22:43:52 -08:00
MediaData.cpp Bug 965440 - Try GRALLOC_PLANAR_YCBCR in VideoData::Create on gonk r=nical,doublec 2014-02-18 06:50:20 -08:00
MediaData.h Bug 965440 - Try GRALLOC_PLANAR_YCBCR in VideoData::Create on gonk r=nical,doublec 2014-02-18 06:50:20 -08:00
MediaDecoder.cpp Bug 964559 - Remove MOZ_OGG. r=doublec,ted 2014-02-20 18:01:00 -08:00
MediaDecoder.h Bug 962353 - Remove totalFrameDelay from VideoPlaybackQuality. r=chris.double 2014-03-04 15:31:57 +13:00
MediaDecoderOwner.h
MediaDecoderReader.cpp Bug 634747 - Set MediaQueue's to Finished() when we reach end of stream while decoding after seeking and while finding first frame. r=kinetik 2014-02-25 18:45:03 +13:00
MediaDecoderReader.h Bug 960873: Part 2: Create AudioCompactor class to minimize allocation slop. r=cpearce 2014-02-05 18:11:25 -05:00
MediaDecoderStateMachine.cpp Bug 962353 - Remove totalFrameDelay from VideoPlaybackQuality. r=chris.double 2014-03-04 15:31:57 +13:00
MediaDecoderStateMachine.h Bug 968016 - Use a SharedThreadPool of size 1 for the Media State Machine thread. r=kinetik 2014-02-18 11:53:53 +13:00
MediaInfo.h Bug 960873: Part 1: Refactor MediaDecoderReader.h into separate headers. r=cpearce 2014-02-03 20:49:21 -05:00
MediaMetadataManager.h
MediaQueue.h Bug 960873: Part 1: Refactor MediaDecoderReader.h into separate headers. r=cpearce 2014-02-03 20:49:21 -05:00
MediaRecorder.cpp Bug 971664 - Assert for threadsafety issue in MediaRecorder. r=khuey 2014-02-19 12:15:53 +08:00
MediaRecorder.h Bug 957452 - MediaRecorder: Fix use-after-free crash [@mozilla::dom::MediaRecorder::Session::GetEncodedData]. r=roc 2014-01-13 16:11:22 +08:00
MediaResource.cpp Bug 978647 - Properly handle EOF in DirectShow backend. r=edwin 2014-03-03 19:57:10 +13:00
MediaResource.h Bug 975858 - Ensure that MediaResource dtor always runs on the main thread, making it safe to deref on non-main threads. r=roc 2014-02-26 13:36:54 +13:00
MediaSegment.h Bug 957691 - Convert assertions to warnings to hide intermittent test failures. r=roc 2014-02-28 09:11:37 -05:00
MediaShutdownManager.cpp Bug 968016 - Ensure all threads in media SharedThreadPools are joined in MediaShutdownManager's xpcom shutdown listener. r=kinetik 2014-02-18 11:53:53 +13:00
MediaShutdownManager.h Bug 968016 - Use a SharedThreadPool of size 1 for the Media State Machine thread. r=kinetik 2014-02-18 11:53:53 +13:00
MediaStreamGraph.cpp Bug 957691 - Convert assertions to warnings to hide intermittent test failures. r=roc 2014-02-28 09:11:37 -05:00
MediaStreamGraph.h Bug 968016 - Use a SharedThreadPool of size 1 for the Media State Machine thread. r=kinetik 2014-02-18 11:53:53 +13:00
MediaStreamGraphImpl.h b=969089 allow an offline graph to shutdown before it's AudioDestinationNode is unlinked r=roc 2014-02-11 13:04:58 +13:00
MediaStreamTrack.cpp
MediaStreamTrack.h
MediaTaskQueue.cpp Bug 968016 - Use SharedThreadPool instead of manually managed threads for the media decoding. r=kinetik 2014-02-18 11:53:52 +13:00
MediaTaskQueue.h Bug 935778 - Part 0.3: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 23:07:24 -05:00
moz.build Bug 978594 - Part 3: Port some of the per-source flags to moz.build; r=glandium 2014-03-02 15:41:32 -05:00
MP3FrameParser.cpp Bug 948326 - Actually address review comments in bug 918135 r=cpearce 2013-12-16 17:47:50 +13:00
MP3FrameParser.h Bug 950506 - Part 2: Build content/media/directshow in unified mode; r=roc 2013-12-15 19:00:54 -05:00
RtspMediaResource.cpp Merge b2g-inbound to m-c. 2014-01-30 16:32:42 -05:00
RtspMediaResource.h Bug 964132 - [RTSP] Fix the cycle reference in RtpsMediaResource. r=sworkman 2014-02-05 10:41:42 +08:00
SharedBuffer.h Bug 961441: Use MallocSizeOf to report decoded-audio memory. r=cpearce r=njn 2014-01-22 22:14:45 -05:00
SharedThreadPool.cpp Bug 968016 - Ensure all threads in media SharedThreadPools are joined in MediaShutdownManager's xpcom shutdown listener. r=kinetik 2014-02-18 11:53:53 +13:00
SharedThreadPool.h Bug 968016 - Ensure all threads in media SharedThreadPools are joined in MediaShutdownManager's xpcom shutdown listener. r=kinetik 2014-02-18 11:53:53 +13:00
StreamBuffer.cpp Bug 943461. Part 1: A stream is fully finished when all its tracks have finished playing out. r=padenot 2013-12-04 14:08:12 +13:00
StreamBuffer.h Bug 957691 - Convert assertions to warnings to hide intermittent test failures. r=roc 2014-02-28 09:11:37 -05:00
TextTrack.cpp Bug 969506 - TextTrack's ActiveCues should return null of TextTrack's mode is set to 'disabled'. r=rillian 2014-02-07 13:59:26 -05:00
TextTrack.h Bug 881976 - Part 3: Refactor TextTrack classes. r=rillian 2014-01-27 15:17:20 -05:00
TextTrackCue.cpp Bug 941701 - Fix crash in TextTrackCue::GetCueAsHTML r=rillian 2014-02-14 10:00:00 -08:00
TextTrackCue.h Bug 967157 - Setting TextTrackCue::DisplayState should set TextTrackCue::HasBeenReset to false. r=rillian 2014-02-03 15:27:51 -05:00
TextTrackCueList.cpp Backed out 5 changesets (bug 865407) for Windows crashes. 2014-01-10 11:50:49 -05:00
TextTrackCueList.h Backed out 5 changesets (bug 865407) for Windows crashes. 2014-01-10 11:50:49 -05:00
TextTrackList.cpp Bug 972479 - TextTracks added to a TextTrackList through an HTMLTrackElement should dispatch 'onaddtrack' event. r=rillian 2014-02-13 13:28:21 -05:00
TextTrackList.h Bug 972479 - TextTracks added to a TextTrackList through an HTMLTrackElement should dispatch 'onaddtrack' event. r=rillian 2014-02-13 13:28:21 -05:00
TextTrackRegion.cpp
TextTrackRegion.h
TextTrackRegionList.cpp
TextTrackRegionList.h
TimeVarying.h Backed out changesets ac4e6f145b9a, 91c572ac5ee1, f501606dc1d3, and 15fc5d1cb10e (bug 952893) for test failures on a CLOSED TREE. 2014-01-29 14:34:08 -05:00
TrackUnionStream.h Bug 957691 - Convert assertions to warnings to hide intermittent test failures. r=roc 2014-02-28 09:11:37 -05:00
VideoFrameContainer.cpp Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
VideoFrameContainer.h
VideoPlaybackQuality.cpp Bug 962353 - Remove totalFrameDelay from VideoPlaybackQuality. r=chris.double 2014-03-04 15:31:57 +13:00
VideoPlaybackQuality.h Bug 962353 - Remove totalFrameDelay from VideoPlaybackQuality. r=chris.double 2014-03-04 15:31:57 +13:00
VideoSegment.cpp Bug 952033 - Part e: Use IntSize in VideoSegment; r=roc 2014-02-09 09:04:38 +01:00
VideoSegment.h Bug 952033 - Part e: Use IntSize in VideoSegment; r=roc 2014-02-09 09:04:38 +01:00
VideoStreamTrack.cpp
VideoStreamTrack.h
VideoUtils.cpp Bug 960873: Part 1: Refactor MediaDecoderReader.h into separate headers. r=cpearce 2014-02-03 20:49:21 -05:00
VideoUtils.h Bug 960873: Part 1: Refactor MediaDecoderReader.h into separate headers. r=cpearce 2014-02-03 20:49:21 -05:00
VorbisUtils.h
WebVTTListener.cpp Bug 961885 - Rename the enum entries for HTMLTrackElement.readyState, as HTMLTrackElement::ERROR is defined in some other file that can be included in unified builds, causing errors when we add more files to content/media. r=rillian 2014-01-23 17:19:34 +13:00
WebVTTListener.h