Commit Graph

1851 Commits

Author SHA1 Message Date
Ehsan Akhgari
bf197ee0b6 Bug 834513 - Part 1: Refactor WebAudioDecodeJob::GetJSContext into AudioContext; r=roc 2013-04-14 14:18:43 -04:00
Ehsan Akhgari
ed2b473e45 Bug 854319 - Part 2: Always use a ref pointer when dealing with MediaResource objects; r=cpearce 2013-04-15 20:08:03 -04:00
Ehsan Akhgari
bb3fe4cc6f Bug 854319 - Part 1: Call BeginDecoding before OnDecodeThreadStart; r=cpearce
This is what WMFReader::OnDecodeThreadStart() expects.
2013-04-15 19:49:35 -04:00
Ehsan Akhgari
24a63e7a4e Bug 853298 - Part 2: Make AudioNode an EventTarget; r=smaug 2013-04-12 11:28:33 -04:00
Ehsan Akhgari
21fef81a58 Bug 853298 - Part 1: Switch the ownership model of audio nodes to be based the cycle collector with wrapper caches; r=roc
Here is what this patch does:
 * Got rid of the JSBindingFinalized stuff
 * Made all nodes wrappercached
 * Started to hold a self reference while the AudioBufferSourceNode is playing back
 * Converted the input references to weak references
 * Got rid of all of the SetProduceOwnOutput and UpdateOutputEnded logic

The nodes are now collected by the cycle collector which calls into
DisconnectFromGraph which drops the references to other nodes and destroys the
media stream.  Note that most of the cycles that are now inherent in the
ownership model are between nodes and their AudioParams (that is, the cycles
not created by content.)
2013-04-14 21:52:55 -04:00
Paul Adenot
1804f67723 Bug 853551 - Implement the doppler part of AudioPannerNode. r=ehsan 2013-04-11 14:47:57 +02:00
Chris Pearce
1b06ea4ff6 Bug 846992 - Don't assume last video frames in media's timestamp covers all of audio overhang. r=kinetik 2013-04-12 16:50:04 +12:00
Ehsan Akhgari
c2ff4fe5ac Bug 859595 - Implement the alternate names for AudioBufferSourceNode, AudioContext and AudioParam; r=bzbarsky
Let this be mentioned in our code base history that I wrote this patch
with tears in my eyes.  This is the saddest thing I've ever had to do to
Gecko. :(

--HG--
extra : rebase_source : 798e5b1dc8af51a399189dd05bc59ac077670820
2013-04-11 22:08:05 -04:00
Joshua Cranmer
1eb62b3971 Bug 856108 - Port static analyses to clang, part 2a: use MOZ_STACK_CLASS in content. r=bz 2013-04-11 22:20:09 -05:00
Chris Pearce
fe3a292f53 Bug 860978 - Fix compile error due to warnings as errors in gstreamer backend on Fedora 16, GCC4.6.3. r=edwin 2013-04-12 12:28:53 +12:00
Alessandro Decina
c9726527fa Bug 853325 - Improve buffered time ranges accuracy with the GStreamer media backend r=doublec 2013-04-11 20:46:47 +12:00
Alessandro Decina
579d2ec1e2 Bug 853306 - Make the GStreamer backend play whitelisted codecs only r=doublec 2013-04-11 20:46:46 +12:00
Paul Adenot
d2019eb47f Bug 847194 - Protect mCodecStates from concurrent accesses. r=cpearce 2013-04-09 15:36:33 +02:00
Paul Adenot
e699f7917a Bug 854336 - Implement the playbackRate property of AudioBufferSourceNode. r=ehsan 2013-04-09 14:47:42 +02:00
Paul Adenot
1e2f674242 Bug 852366 - Don't resample on the main thread. r=ehsan,roc 2013-03-18 20:54:32 -04:00
Guilherme Gonçalves
c58e4393f3 Bug 855704 - Pair pushPrefEnv with waitForExplicitFinish in speech tests. r=smaug
--HG--
extra : amend_source : e2fd5c3a186bb195bc54baf28b05d5ba53f5bb3d
2013-04-09 12:50:56 -07:00
Boris Zbarsky
e9877a38eb Bug 859675. Return the canonical nsISupports from ToSupports(SpeechRecognition). r=smaug 2013-04-09 12:26:36 -04:00
Ehsan Akhgari
30b359b669 Backed out changeset 3ae03ecf8b5e (bug 852366) because of mochitest-1 crashes
Landed on a CLOSED TREE
2013-04-09 11:29:15 -04:00
Ehsan Akhgari
401ac0136b Backed out changeset 92c2f24cb6ff (bug 854336) because of mochitest-1 crashes 2013-04-09 11:28:42 -04:00
Ehsan Akhgari
a2348a1115 Backed out changeset 9c080ffa640f (bug 853551) because of mochitest-1 crashes 2013-04-09 11:28:38 -04:00
Paul Adenot
1e8caad6cf Bug 853551 - Implement the doppler part of AudioPannerNode. r=ehsan 2013-04-09 14:47:42 +02:00
Paul Adenot
60af723f4c Bug 854336 - Implement the playbackRate property of AudioBufferSourceNode. r=ehsan 2013-04-09 14:47:42 +02:00
Paul Adenot
a1ad1c8920 Bug 852366 - Don't resample on the main thread. r=ehsan,roc 2013-03-18 20:54:32 -04:00
Ehsan Akhgari
5fda9c3404 Bug 859597 - Narrow down the acceptable range for AnalyserNode.fftSize; r=padenot 2013-04-08 21:26:08 -04:00
Ehsan Akhgari
84977006bb Bug 859602 - Remove AudioParam.minValue/maxValue; r=bzbarsky 2013-04-08 21:57:54 -04:00
Ehsan Akhgari
bc953f2564 Bug 859594 - Remove AudioSourceNode; r=bzbarsky 2013-04-08 22:45:02 -04:00
Ehsan Akhgari
14c8cf8947 Bug 859335 - Make sure that the chunk passed to WriteZeroesToAudioBlock is not null; r=roc
--HG--
extra : rebase_source : 8a2b5bd19cdb12289950ff58ca72b85e99ba44a7
2013-04-08 11:20:46 -04:00
Ryan VanderMeulen
7ad02b9d4e Backed out changeset 35178de36bd3 (bug 855704) for frequent mochitest failures. 2013-04-08 19:50:03 -04:00
Guilherme Gonçalves
8294b8bf07 Bug 855704 - Use pushPrefEnv instead of setBoolPref in webspeech tests. r=smaug
--HG--
extra : rebase_source : 06034c89046557ad40834bad29fae9d76b5b0485
2013-04-08 12:47:02 -07:00
Sotaro Ikeda
09b09313c5 Bug 837051 - Store less buffers for video playback at MediaOmxReader. r=doublec 2013-04-08 14:35:30 -04:00
Randell Jesup
7079f90b91 Bug 845741: Set mUpdateFinished under lock r=roc 2013-04-08 08:03:33 -04:00
Masatoshi Kimura
2550eb2430 Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert 2013-04-07 13:45:34 +09:00
sarat.addepalli@gmail.com
5a0e69654e Bug 858012, fix compilation of nsSpeechTask.cpp r=smaug
--HG--
extra : rebase_source : ef26138e39cb2b86f01f41a5f7e0e041997d5e2d
2013-04-07 01:37:15 +03:00
sarat.addepalli@gmail.com
d0a1229efc Bug 857994, fix compilation on some older GCCs, r=smaug 2013-04-07 01:24:27 +03:00
Diego Wilson
0488ab61c9 Bug 847779 - Abort playback if OMX audio init fails. r=doublec, r=cpearce 2013-04-04 15:33:45 -07:00
Dan Mosedale
d6b0e8e1bb Bug 830942 - Make VideoEngine attach to JVM on Android to support getUserMedia video capture. r=blassey 2013-02-09 14:20:03 -08:00
Guilherme Gonçalves
e9c81fccf8 Bug 855704 - Log error messages in webspeech. r=smaug 2013-04-03 17:43:36 -07:00
Ehsan Akhgari
dd2894d770 Bug 853721 - Part 2: Hook up DelayNode to the media streams graph and implement delaying of incoming audio; r=roc 2013-03-25 08:34:59 -04:00
Robert O'Callahan
0d62ef2574 Bug 727697. Add facility to dump audio output as WAV files. r=kinetik
When MOZ_DUMP_AUDIO is set in the environment (to anything),
we'll drop a series of files in the current working directory named
dumped-audio-<nnn>.wav, one per nsBufferedAudioStream created, containing
the audio for the stream including any skips due to underruns.
2013-04-03 19:12:27 -04:00
Ehsan Akhgari
1afb935f33 Bug 857793 - Always return the defaultValue before the first scheduled event on an AudioParam; r=roc 2013-04-03 17:31:42 -04:00
Ehsan Akhgari
d7c5934da8 Bug 857790 - Convert AudioParam time values to ticks relative to the source stream, not the destination stream; r=roc 2013-04-03 17:28:49 -04:00
Eitan Isaacson
4e35440ec8 Bug 525444 - (Part 3/3) Support OOP speech synth. r=smaug
--HG--
rename : content/media/webspeech/synth/moz.build => content/media/webspeech/synth/ipc/test/moz.build
2013-04-03 15:13:17 -07:00
Eitan Isaacson
0ef6c563a4 Bug 525444 - (Part 2/3) Added speech service API. r=smaug 2013-04-03 15:13:17 -07:00
Eitan Isaacson
998738aff3 Bug 525444 - (Part 1/3) Basic SpeechSynthesis setup and voice registration. r=smaug
--HG--
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/moz.build
rename : content/media/webspeech/moz.build => content/media/webspeech/synth/test/moz.build
2013-04-03 15:13:16 -07:00
Eitan Isaacson
542d52e905 Bug 856370 - Add a Makefile.in in webspeech/recognition and remove webspeech top-level VPATH. r=smaug
--HG--
rename : content/media/webspeech/Makefile.in => content/media/webspeech/recognition/Makefile.in
rename : content/media/webspeech/moz.build => content/media/webspeech/recognition/moz.build
2013-04-03 15:13:16 -07:00
Jason Smith
10346b6fda Bug 850587 - Test for autoplay not working with MediaStreams. r=roc 2013-04-02 23:58:48 -07:00
Steve Workman
b7d0b0ab9c Bug 855064 - Exclude DASH code from default builds r=cpearce 2013-04-02 17:05:00 -07:00
Steve Workman
d5bd61fa94 Bug 855064 - Remove DASH references in media unit tests r=cpearce 2013-04-02 17:05:00 -07:00
Ehsan Akhgari
27808e5b96 Bug 856771 - Protect the source buffer nodes from leaking when their binding goes away without being played back; r=roc
This is the real part of the patch which was dropped from the previous commit.
2013-04-01 16:06:55 -04:00
Ehsan Akhgari
9b20eb2d7e Bug 855990 followup: move TransferBuffer outside of the function because gcc is not a grown-up
Landed on a CLOSED TREE
2013-04-02 16:18:32 -04:00