gecko/content/media
Paul Adenot 9a84687a23 Bug 998179 - Refactor how MediaStreamGraph get and use their sample rate. r=roc
Use the sample rate passed to the OfflineAudioContext constructor in
MediaStreamGraph::CreateOfflineInstance, and pass the preferred mixer sample
rate to the (real time) MediaStreamGraph constructor.

Then, always use this sample rate for the lifetime of the graph.

This patch needed to pass the sample rate to the AudioMixer class to avoid
relying on globals like it was done before.

--HG--
extra : rebase_source : 2802208819887605fe26a7040998fc328b3c9a57
2014-04-23 11:20:56 +02:00
..
apple Bug 981428 - Move OSX -framework flags to moz.build; r=mshal 2014-03-10 20:18:33 -04:00
compiledtest Bug 998179 - Refactor how MediaStreamGraph get and use their sample rate. r=roc 2014-04-23 11:20:56 +02:00
directshow Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-04-01 16:39:04 +13:00
encoder Bug 993303 - Correct the VorbisTrackEncoder::WriteLacing function. r=rillian 2014-04-11 13:54:15 +08:00
fmp4 Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:25 -07:00
gstreamer Bug 997208 - Remove unnecessary nullptr checks before deleting in content/media. r=cajbir 2014-04-17 09:23:16 -04:00
gtest Bug 951044 - [MediaEncoder::GTest] Implement unit test of VP8 video track encoder. r=rillian 2014-04-15 12:51:19 -04:00
mediasource Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
ogg Bug 991448 - Skip Theora decode to next keyframe after seek, so that we don't get visual artifacts after a fastSeek. r=cajbir 2014-04-04 10:39:15 +13:00
omx Bug 999902 - Enable WebRTC OMX codec only when Android version >= 18. r=jesup 2014-04-23 02:59:00 +02:00
plugins Bug 997208 - Remove unnecessary nullptr checks before deleting in content/media. r=cajbir 2014-04-17 09:23:16 -04:00
raw Bug 952033 - Part c: Use IntSize and IntRect in VideoData; r=roc 2014-02-09 09:04:38 +01:00
test Bug 998282. Ensure cancellable_request.sjs massively overfills the default 100K media cache size. 2014-03-11 17:30:27 +08:00
wave Bug 966311 - Calculate frame size for stereo wave. r=doublec 2014-01-31 13:50:45 -08:00
webaudio Bug 998179 - Refactor how MediaStreamGraph get and use their sample rate. r=roc 2014-04-23 11:20:56 +02:00
webm Bug 994557 - part2: 1. fix bug in finishCluster function. 2. Can flush metadata only. 3. Ensure the keyframe is placed at the beginning of cluster. r=rillian 2014-04-23 12:04:27 +08:00
webrtc Backed out 2 changesets (bug 970691) for build bustage on a CLOSED TREE 2014-04-23 18:26:05 -07:00
webspeech Backed out changesets d8d01c95be03 and 5fa0c8f5ccb2 (bug 907352) for Linux64 mochitest-3 crashes. 2014-04-18 11:22:21 -04:00
webvtt Bug 974017 - Update vtt.js r=rillian. 2014-04-14 07:57:00 +02:00
wmf Bug 993003 - Ensure we abort media load if IMFSourceReader creation fails. r=padenot 2014-04-09 16:45:32 +12:00
AbstractMediaDecoder.h Bug 976172 - Part 1 Changes in MediaOmxDecoder to enable audio offloading r=roc 2014-04-08 20:59:07 +05:30
AudioChannelFormat.cpp
AudioChannelFormat.h Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan 2014-03-15 12:00:17 -07:00
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
AudioMixer.h Bug 998179 - Refactor how MediaStreamGraph get and use their sample rate. r=roc 2014-04-23 11:20:56 +02:00
AudioNodeEngine.cpp b=990794 crash on ovrfl in AllocateAudioBlock r=roc 2014-04-03 21:12:54 +13:00
AudioNodeEngine.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
AudioNodeEngineNEON.cpp
AudioNodeEngineNEON.h
AudioNodeExternalInputStream.cpp Backed out changeset 5349ecd9c313 (bug 818822) 2014-04-07 15:40:55 -04:00
AudioNodeExternalInputStream.h b=932400 rename ProduceOutput to ProcessInput r=roc 2014-03-05 10:53:55 +13:00
AudioNodeStream.cpp Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
AudioNodeStream.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
AudioSampleFormat.h Bug 991504 - Detect silent chunk when resampling, and properly handle them. r=roc 2014-04-07 18:22:11 +02:00
AudioSegment.cpp Bug 998179 - Refactor how MediaStreamGraph get and use their sample rate. r=roc 2014-04-23 11:20:56 +02:00
AudioSegment.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
AudioStream.cpp Bug 996487: don't null out mThread while committing thread suicide r=bsmedberg 2014-04-22 15:32:13 -04:00
AudioStream.h Bug 996487: don't null out mThread while committing thread suicide r=bsmedberg 2014-04-22 15:32:13 -04:00
AudioStreamTrack.cpp Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
AudioStreamTrack.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
BufferDecoder.cpp Bug 973408 - Don't block a decode thread while awaiting resources. r=kinetik 2014-03-11 11:44:09 +08:00
BufferDecoder.h Bug 973408 - Don't block a decode thread while awaiting resources. r=kinetik 2014-03-11 11:44:09 +08:00
BufferMediaResource.h Bug 969117 - Report memory usage of MediaResources. r=njn 2014-03-05 13:31:04 -08:00
DecoderTraits.cpp Bug 986947 - Make MP3 contained in MP4 playback again on Windows with WMF backend. r=padenot 2014-04-04 10:39:42 +13:00
DecoderTraits.h
DOMMediaStream.cpp Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
DOMMediaStream.h Backed out changesets 1e581e74878d, 7d2138e87ca0, and 7cc66aee4341 (bug 942367) for B2G mochitest failures. 2014-04-17 22:26:07 -04:00
EncodedBufferCache.cpp
EncodedBufferCache.h
FileBlockCache.cpp
FileBlockCache.h Bug 984786 part 5: Give NS_INLINE_DECL_*REFCOUNTING classes private/protected destructor & MOZ_FINAL annotation where appropriate, in /content/media. r=kinetik 2014-04-02 09:21:11 -07:00
Latency.cpp
Latency.h Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07: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 995090 - Update MediaCache again when there are changes in |MediaCache::mStreams|. r=roc 2014-04-22 08:37:01 -04:00
MediaCache.h Bug 969117 - Report memory usage of MediaResources. r=njn 2014-03-05 13:31:04 -08:00
MediaData.cpp Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
MediaData.h Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
MediaDecoder.cpp Bug 998168 - add decoder pointer to the log message of MediaDecoderStateMachine/MediaDecoder for debugging. r=cpearce 2014-04-23 05:29:04 -04:00
MediaDecoder.h Bug 987064 - Remove AudioChannelType. r=roc, r=mchen, r=bent 2014-04-10 18:39:20 +01:00
MediaDecoderOwner.h Bug 927245 - Remove deprecated Audio Data API implementation. r=cajbir,smaug 2014-04-03 10:53:39 +13:00
MediaDecoderReader.cpp Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-04-01 16:39:04 +13:00
MediaDecoderReader.h Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-04-01 16:39:04 +13:00
MediaDecoderStateMachine.cpp Bug 998284. When entering the buffering state from AdvanceFrame, be prepared to accept a second's delay before reevaluating whether to exit buffering. r=cpearce 2014-03-25 00:58:11 +13:00
MediaDecoderStateMachine.h Bug 998168 - nsITimer functions should be only called in the event target thread of the timer. r=cpearce. 2014-04-23 05:29:14 -04:00
MediaInfo.h
MediaMetadataManager.h Bug 990892 - MediaMetadataManager::DispatchMetadataIfNeeded leaks items popped from mMetadataQueue. r=padenot 2014-04-03 10:54:36 +13:00
MediaQueue.h Bug 973408 - Add pop listeners to MediaQueue. r=kinetik 2014-03-11 11:44:09 +08:00
MediaRecorder.cpp Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
MediaRecorder.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
MediaResource.cpp Bug 969117 - Report memory usage of MediaResources. r=njn 2014-03-05 13:31:04 -08:00
MediaResource.h Bug 969117 - Report memory usage of MediaResources. r=njn 2014-03-05 13:31:04 -08:00
MediaSegment.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07: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 998179 - Refactor how MediaStreamGraph get and use their sample rate. r=roc 2014-04-23 11:20:56 +02:00
MediaStreamGraph.h Bug 998179 - Refactor how MediaStreamGraph get and use their sample rate. r=roc 2014-04-23 11:20:56 +02:00
MediaStreamGraphImpl.h Bug 998179 - Refactor how MediaStreamGraph get and use their sample rate. r=roc 2014-04-23 11:20:56 +02:00
MediaStreamTrack.cpp Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug 2014-04-01 15:13:50 +09:00
MediaStreamTrack.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
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 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:25 -07:00
moz.build Backed out changeset 87f437be7de5 (bug 982490) 2014-04-07 15:37:56 -04:00
MP3FrameParser.cpp
MP3FrameParser.h
RtspMediaResource.cpp Bug 877193 - Reduce memory usage for RTSP streaming. r=sworkman 2014-04-16 21:07:17 +08:00
RtspMediaResource.h Bug 977518 - [RTSP] Resource leak from RtspMediaResource, RtspController and RTSPSource. r=sworkman 2014-02-27 15:28:18 +08:00
SharedBuffer.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
SharedThreadPool.cpp Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
SharedThreadPool.h Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
StreamBuffer.cpp
StreamBuffer.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
TextTrack.cpp Bug 976580 - Set cue state to dirty when video resize happens. r=rillian, r=bz 2014-04-07 15:42:33 -04:00
TextTrack.h Bug 976580 - Set cue state to dirty when video resize happens. r=rillian, r=bz 2014-04-07 15:42:33 -04:00
TextTrackCue.cpp Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
TextTrackCue.h Bug 976580 - Set cue state to dirty when video resize happens. r=rillian, r=bz 2014-04-07 15:42:33 -04:00
TextTrackCueList.cpp Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
TextTrackCueList.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
TextTrackList.cpp Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
TextTrackList.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
TextTrackRegion.cpp Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
TextTrackRegion.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
TimeVarying.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
TrackUnionStream.h b=932400 rename ProduceOutput to ProcessInput r=roc 2014-03-05 10:53:55 +13:00
VideoFrameContainer.cpp
VideoFrameContainer.h
VideoPlaybackQuality.cpp Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
VideoPlaybackQuality.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
VideoSegment.cpp Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg 2014-03-15 12:00:17 -07:00
VideoSegment.h Bug 967817 - Finish memory reporters for Web Audio. r=roc, njn 2014-04-13 11:08:10 -07:00
VideoStreamTrack.cpp Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
VideoStreamTrack.h Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley 2014-04-08 18:27:18 -04:00
VideoUtils.cpp Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-04-01 16:39:04 +13:00
VideoUtils.h Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-04-01 16:39:04 +13:00
VorbisUtils.h
WebVTTListener.cpp Bug 882677 - Part 4: TextTrack::ReadyState should be set to 'error' if loading the stream fails. r=cpearce 2014-03-17 17:49:52 -04:00
WebVTTListener.h Bug 882677 - Part 2: Handle ParsingErrors from vtt.js correctly. r=cpearce 2014-03-17 15:11:41 -04:00