Robert O'Callahan
93a3ca0e54
Bug 804387. Part 7.2: Let BiquadFilterNode use the actual context sample rate. r=ehsan
...
--HG--
rename : content/media/MediaStreamGraph.cpp => content/media/MediaStreamGraphImpl.h
extra : rebase_source : 3d50af2ff2dff9fa047d59d0f3c815dec5cc686c
2013-02-05 10:55:50 +13:00
Robert O'Callahan
a2cc2eaf26
Bug 804387. Part 7: Use a static_cast instead of dynamic check when processing ProcessedMediaStream message. r=jesup
...
--HG--
extra : rebase_source : 3eb9264b706e19ac19ebf2377a33871be4cbe981
2013-02-04 23:04:26 +13:00
Robert O'Callahan
56958e3201
Bug 804387. Part 6: ChangeExplicitBlockerCountImpl takes a GraphTime, not a StreamTime. r=jesup
...
--HG--
rename : content/media/MediaStreamGraph.cpp => content/media/MediaStreamGraphImpl.h
extra : rebase_source : c51cb893c9b6121e00a38f105f2efd2e8d70094d
2013-02-04 23:04:26 +13:00
Robert O'Callahan
316b23fcb6
Bug 804387. Part 5: Add MediaStream::GraphTimeToStreamTimeOptimistic and MediaStream::StreamTimeToGraphTime. r=jesup
...
--HG--
rename : content/media/MediaStreamGraph.cpp => content/media/MediaStreamGraphImpl.h
extra : rebase_source : 0e08f9bb0c544b44ab4953a0f00cae233cd488c7
2013-02-04 23:04:26 +13:00
Robert O'Callahan
142a2a401e
Bug 804387. Part 4: Move MediaStreamGraphImpl to its own header file. r=jesup
...
--HG--
rename : content/media/MediaStreamGraph.cpp => content/media/MediaStreamGraphImpl.h
extra : rebase_source : 3413667aa3a11c634f703db4031e3c2b0b1e018e
2013-02-04 23:04:25 +13:00
Robert O'Callahan
6719ce2ae8
Bug 804387. Part 3: When a global underrun happens, don't insert blocked time, just cut that time out of the entire MediaStreamGraph timeline instead. r=jesup
...
--HG--
extra : rebase_source : 94f166e66f5401130b27867dd2b5ca039c704f14
2013-02-04 23:04:25 +13:00
Robert O'Callahan
c9484fdea1
Bug 804387. Part 2: Fix misleading parameter name; these are NOT exactly microseconds. r=jesup
...
--HG--
extra : rebase_source : da23d4a4e5a9804b3c3ca19183ae048bf6012152
2013-02-04 23:04:25 +13:00
Robert O'Callahan
f42503daeb
Bug 804387. Part 1.5: Clean up main-thread MediaStream event listeners. r=jesup
...
There is no need for these to be independent objects in general and we
don't need to addref/release them. We can just require the caller to
remove them before they die.
We can also save some refcount churn by having
DispatchToMainThreadAfterStreamStateUpdate take already_AddRefed.
--HG--
extra : rebase_source : 751114a1befd73b405dff3ee986496efb6f76201
2013-02-04 23:04:24 +13:00
Robert O'Callahan
9a5950d3c6
Bug 804387. Part 1: Make AllocateInputPort addref the returned port. r=jesup
...
--HG--
extra : rebase_source : a0e4d7889598577a540f132f4190225ecf12fdfb
2012-11-23 11:25:05 +13:00
Ehsan Akhgari
598f705578
Backed out 14 changesets (bug 804387) because of Android M2 crashes
...
Backed out changeset 80e8530f06ea (bug 804387)
Backed out changeset 3de2271ad47f (bug 804387)
Backed out changeset 00f86870931c (bug 804837)
Backed out changeset 0e3f20927c50 (bug 804387)
Backed out changeset e6ef90038007 (bug 804387)
Backed out changeset 0ad6f67a95f9 (bug 804387)
Backed out changeset d0772aba503c (bug 804387)
Backed out changeset 5477b87ff03e (bug 804387)
Backed out changeset 1d7ec5adc49f (bug 804387)
Backed out changeset 11f4d740cd6c (bug 804387)
Backed out changeset e6254d8997ab (bug 804387)
Backed out changeset 372322f3264d (bug 804387)
Backed out changeset 53d5ed687612 (bug 804387)
Backed out changeset 000b88ac40a7 (bug 804387)
2013-02-05 01:29:28 -05:00
Ehsan Akhgari
b2bde00794
Backed out 3 changesets (bug 836076) becasue bug 804387 is getting backed out
...
Backed out changeset d567b1bb34ad (bug 836076)
Backed out changeset 51f7c9e31f9a (bug 836076)
Backed out changeset 901c735274bc (bug 836076)
--HG--
rename : content/media/AudioEventTimeline.h => content/media/webaudio/AudioEventTimeline.h
2013-02-05 01:28:38 -05:00
Ehsan Akhgari
057108984e
Bug 836076 - Part 3: Make AudioParams call back into their owning node when they're modified; r=roc
...
We need this in order to update the MediaStreamGraph thread when an
AudioParam changes. This enables each AudioParam to be registered with
a callback from its owner node, so that the owner node can have custom
processing code for each AudioParam's mutation.
2013-01-28 18:59:29 -05:00
Ehsan Akhgari
d65f82d1a1
Bug 836076 - Part 2: Make it possible to send AudioEventTimeline objects as commands to the MSG thread; r=roc
2013-01-28 17:42:27 -05:00
Ehsan Akhgari
9721bd3a5c
Bug 836076 - Part 1: Move AudioEventTimeline.h to content/media; r=roc
...
--HG--
rename : content/media/webaudio/AudioEventTimeline.h => content/media/AudioEventTimeline.h
2013-01-28 17:21:43 -05:00
Ehsan Akhgari
b77d993ad2
Bug 804387. Part 11: Fix testcase to expect correct sample rate. r=roc
2013-01-25 16:44:28 -05:00
Ehsan Akhgari
147214ed9d
Bug 804387. Part 10: Add a mechanism for ensuring that we don't attempt to allocate an input port if the input node is not hooked up to MSG yet. r=roc
2013-01-25 16:39:51 -05:00
Robert O'Callahan
41a1e70799
Bug 804837. Part 9: Update WebAudio implementation to integrate with AudioNodeStream. r=ehsan
...
This is a mega-patch that was too hard to disentangle. Here's what it does:
-- Create infrastructure around AudioNode::UpdateOutputEnded to detect
when a node can no longer produce any output. When that becomes true,
disconnect it from the AudioNode graph.
-- Have AudioNode implement JSBindingFinalized to use as input in
UpdateOutputEnded.
-- Give every AudioNode a MediaStream, and give every connection
a MediaInputPort.
-- Actually play the audio that reaches the AudioContext's destination node.
-- Force AudioContext to use the audio sample rate defined by MediaStreamGraph.
-- Fix AudioBufferSourceNode's start and stop methods to possibly throw and
take default 'when' parameters.
-- Create an AudioNodeStream for AudioBufferSourceNode and give it a
AudioBufferSourceNodeEngine that does what's needed. Set parameters for
this engine in the start() and stop() methods.
-- Create AudioBuffer::GetThreadSharedChannelsForRate, which is responsible
for stealing the contents of any JS array buffers, and bundling them up
into a thread-shared read-only buffer object which can be used as
part of an AudioChunk. This method will also be responsible for
resampling and caching as necessary.
2013-02-05 12:07:25 +13:00
Robert O'Callahan
85199704c0
Bug 804387. Part 8: Create AudioNodeEngine and AudioNodeStream. r=jesup
...
Modifies MediaStreamGraph to always advance its time by a multiple of
WEBAUDIO_BLOCK_SIZE.
2013-01-14 11:46:57 +13:00
Robert O'Callahan
36d8e43a3b
Bug 804387. Part 7.5: Make Web Audio tests context-rate-independent (disabling some decodeAudioData tests). r=ehsan
2013-02-05 10:57:36 +13:00
Robert O'Callahan
02d2c848e5
Bug 804387. Part 7.2: Let BiquadFilterNode use the actual context sample rate. r=ehsan
2013-02-05 10:55:50 +13:00
Robert O'Callahan
a0af077494
Bug 804387. Part 7: Use a static_cast instead of dynamic check when processing ProcessedMediaStream message. r=jesup
2013-02-04 23:04:26 +13:00
Robert O'Callahan
752794e8a7
Bug 804387. Part 6: ChangeExplicitBlockerCountImpl takes a GraphTime, not a StreamTime. r=jesup
2013-02-04 23:04:26 +13:00
Robert O'Callahan
ed7a406d75
Bug 804387. Part 5: Add MediaStream::GraphTimeToStreamTimeOptimistic and MediaStream::StreamTimeToGraphTime. r=jesup
2013-02-04 23:04:26 +13:00
Robert O'Callahan
3fad0bb120
Bug 804387. Part 4: Move MediaStreamGraphImpl to its own header file. r=jesup
...
--HG--
rename : content/media/MediaStreamGraph.cpp => content/media/MediaStreamGraphImpl.h
2013-02-04 23:04:25 +13:00
Robert O'Callahan
e39fa86ef9
Bug 804387. Part 3: When a global underrun happens, don't insert blocked time, just cut that time out of the entire MediaStreamGraph timeline instead. r=jesup
2013-02-04 23:04:25 +13:00
Robert O'Callahan
7fb8782f92
Bug 804387. Part 2: Fix misleading parameter name; these are NOT exactly microseconds. r=jesup
2013-02-04 23:04:25 +13:00
Robert O'Callahan
e4dcc9be99
Bug 804387. Part 1.5: Clean up main-thread MediaStream event listeners. r=jesup
...
There is no need for these to be independent objects in general and we
don't need to addref/release them. We can just require the caller to
remove them before they die.
We can also save some refcount churn by having
DispatchToMainThreadAfterStreamStateUpdate take already_AddRefed.
2013-02-04 23:04:24 +13:00
Robert O'Callahan
d3228ba0ab
Bug 804387. Part 1: Make AllocateInputPort addref the returned port. r=jesup
2012-11-23 11:25:05 +13:00
Chris Pearce
43af4dbc94
Bug 836927 - Bustage fix. r=bustage
2013-02-05 10:57:29 +13:00
Chris Pearce
661c2de3a5
Bug 836927 - Make WMFByteStream bug compatible with WMF's IMFByteStream implementation. r=padenot
2013-02-05 10:34:23 +13:00
Chris Pearce
3cfce463ea
Bug 830172 - Use a shared nsIThreadPool instead of one MFWorkQueue per WMFByteStream instance. r=padenot
2013-02-05 10:33:52 +13:00
Ehsan Akhgari
6ae155f23d
Export MediaBufferDecoder.h, no bug
2013-02-04 13:16:57 -05:00
Paul Adenot
6f6c7fbae4
Bug 804875 - Change the test, because mozFrameDelay can be 0, on a CLOSED TREE.
2013-02-04 17:37:53 +01:00
Paul Adenot
457423f099
Bug 804875 - Fix bustage on a CLOSED TREE. r=me
2013-02-04 15:21:44 +01:00
Matthew Gregan
fca4ee9782
Bug 835075 - Modify the mochitest. r=padenot
2013-02-04 14:08:47 +01:00
Paul Adenot
a9d5dbe1ef
Bug 804875 - Reset all the members of the VideoFrameComtainer in the Reset method. r=kinetik
2013-01-31 15:41:05 +01:00
Paul Adenot
a6905ccded
Bug 804875 - Test to check that media elements are reset appropriatly on source change. r=kinetik
2012-12-28 22:54:23 +01:00
Paul Adenot
179f2a3ed4
Bug 804875 - Reset media element when loading a new src. r=kinetik
2012-12-27 16:21:30 +01:00
Ehsan Akhgari
1aad4eaa4d
Bug 792263 follow-up: Use class instead of struct to satisfy pesky compiler warnings (or rather, errors)
...
--HG--
extra : rebase_source : 900df4204ac807bb9d8e35d2837971905ecde151
2013-02-01 18:11:25 -05:00
Ehsan Akhgari
c78c1b8384
Bug 792263 - Implement decodeAudioData; r=bzbarsky,cpearce,padenot
2013-02-01 17:13:23 -05:00
L. David Baron
fbef6a7327
Fix WARNINGS_AS_ERRORS bustage ("comparison between signed and unsigned integer expressions") from Bug 830707, Part 1 (changeset 93a4d0995cba) on a CLOSED TREE.
2013-01-31 22:24:53 -08:00
Robert O'Callahan
ee2ea45fed
Bug 830707. Part 3: Don't constrain AudioSegment to a fixed number of channels. r=jesup
...
--HG--
extra : rebase_source : feacede00821b6673ce04c886a9c3727a4989404
2013-01-21 09:44:44 +13:00
Robert O'Callahan
64750c3cc4
Bug 830707. Part 2: Mix channels to output channel count when playing audio. r=jesup
...
--HG--
extra : rebase_source : a13d8ec691689e3aa57cd42c9d437f91197d4253
2013-02-01 17:27:02 +13:00
Robert O'Callahan
65c985d18a
Bug 830707. Part 1.5: Add MAX_AUDIO_SAMPLE_SIZE and tweak AddAudioSampleOffset. r=jesup
...
--HG--
extra : rebase_source : 75fed94d7020d375c5044f707cbfd6c29faf90af
2013-02-01 17:26:57 +13:00
Robert O'Callahan
4c73197305
Bug 830707. Part 1: Add code for upmixing and downmixing following Web Audio's spec. r=jesup
...
--HG--
extra : rebase_source : 8cdcbc313fcd371b47ad194f2f0da1102e5e6240
2013-01-16 02:09:38 +13:00
Steve Workman
61a6197e96
Bug 813562 - Test case for garbled DASH MPD and WebM media r=cpearce
2013-01-31 18:41:26 -08:00
Steve Workman
8618e95142
Bug 792935 - Test to detect DASH stream switching r=cpearce
2013-01-31 14:47:22 -08:00
Steve Workman
57f6d520ae
Back out f08e636ecdc4 (bug 792935) for mochitest failures
2013-01-31 10:54:26 -08:00
Steve Workman
2871e04fa3
Bug 792935 - Test to detect DASH stream switching r=cpearce
2013-01-31 09:45:45 -08:00
Randell Jesup
439ab021c2
Bug 818670: Enable AEC in PeerConnection, AGC/NoiseSuppression in gUM (w/bustage fix) r=derf
2013-01-29 11:55:09 -05:00