Commit Graph

1920 Commits

Author SHA1 Message Date
Ehsan Akhgari
6f9afe1879 Bug 864086 - Simplify AudioNode::DestroyMediaStream callers; r=padenot 2013-04-22 08:14:10 -04:00
Ehsan Akhgari
7440e00896 Bug 864083 - Cleanup AudioBuffer::GetThreadSharedChannelsForRate; r=padenot 2013-04-22 08:12:45 -04:00
Ms2ger
88e0c63e61 Merge m-c to m-i. 2013-04-21 09:54:41 +02:00
Ms2ger
e9e1fa61d5 Bug 862409 - Add the media.audio_data.enabled pref to all.js; r=bz 2013-04-21 08:41:21 +02:00
Ehsan Akhgari
5dc9f3b37e Bug 834513 - Part 4: Add tests for ScriptProcessorNode, and also test AudioBufferSourceNode using it; r=roc 2013-04-20 11:17:58 -04:00
Ehsan Akhgari
e6ef206ecb Bug 834513 - Part 3: Implement ScriptProcessorNode; r=roc 2013-04-13 21:37:04 -04:00
Ehsan Akhgari
f25c4a0e7e Bug 834513 - Part 2: Add an AudioNode weak pointer to the AudioNodeEngine class; r=roc 2013-04-20 12:16:28 -04:00
Chris Pearce
cdcda30e31 Bug 852915 - Disable MP3 playback using WMF on Win7SP0 to prevent random crashes. r=bbondy 2013-04-19 14:54:26 +12:00
Ryan VanderMeulen
3707b146a1 Backed out 4 changesets (bug 834835) for making bug 786539 nearly perma-orange. 2013-04-18 10:32:26 -04:00
Phil Ringnalda
d0b651a807 Back out 248daf8c6362 (bug 852915) for Win7 mochitest-1 orange 2013-04-17 23:23:33 -07:00
Chris Pearce
d657cc74b8 Bug 852915 - Disable MP3 playback using WMF on Win7SP0 to prevent random crashes. r=bbondy 2013-04-18 16:38:14 +12:00
Robert O'Callahan
31c06a0c04 Bug 834835. Part 4: Test basic MediaStreamTrack functionality. r=jesup
--HG--
extra : rebase_source : 5fe7024af9ad4669f6fbdbc8149f8de00a75f13a
2013-04-17 17:18:53 +12:00
Robert O'Callahan
adb15736f2 Bug 834835. Part 3: Implement DOMMediaStream::GetAudio/VideoTracks. r=jesup
--HG--
extra : rebase_source : 6e4ab9c849320ee3a3a1b516bf143f528957e57f
2013-04-17 17:18:37 +12:00
Robert O'Callahan
b81d396d11 Bug 834835. Part 2: Make DOMMediaStream maintain a list of MediaStreamTrack objects. r=jesup
We use a MediaStreamListener to watch the MediaStream and maintain the list
of MediaStreamTrack objects.

--HG--
extra : rebase_source : 325a4069f97f716a76ff73a4edb0677e62283631
2013-04-17 17:18:24 +12:00
Robert O'Callahan
bd6864353b Bug 834835. Part 1: Add initial AudioStreamTrack/VideoStreamTrack/MediaStreamTrack interfaces and implementations. r=jesup
--HG--
extra : rebase_source : 7d9ec16301f7ba12fb181e0b37fdcaf8455b97e4
2013-03-27 14:32:51 +13:00
Boris Zbarsky
774766d13e Bug 835643 part 4. Put in place all the infrastructure to switch EventListener to WebIDL codegen. r=smaug 2013-04-16 17:16:08 -04:00
Ryan VanderMeulen
a9cb7d2c88 Merge m-c to inbound. 2013-04-16 16:04:20 -04:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Diego Wilson
4b30b46d1f Bug 860760 - Pause OMX media sources when playback is paused. r=sotaro, r=cdouble
OMXCodec needs to now when the stream is paused. Otherwise it will
prevent the device from lowering its power state when idle.
2013-04-10 17:58:25 -07:00
Ehsan Akhgari
4a146e0379 Bug 834513 - Part 1: Refactor WebAudioDecodeJob::GetJSContext into AudioContext; r=roc 2013-04-14 14:18:43 -04:00
Ehsan Akhgari
9d85d9dbd5 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
657fee6c86 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
848d2fc00a Bug 853298 - Part 2: Make AudioNode an EventTarget; r=smaug 2013-04-12 11:28:33 -04:00
Ehsan Akhgari
ff2971de14 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
697026ca9e Bug 853551 - Implement the doppler part of AudioPannerNode. r=ehsan 2013-04-11 14:47:57 +02:00
Chris Pearce
54c67fa315 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
04873bf8ec 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
66e39d8aff 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
41bbe80170 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
c0db923166 Bug 853325 - Improve buffered time ranges accuracy with the GStreamer media backend r=doublec 2013-04-11 20:46:47 +12:00
Alessandro Decina
38fc3c583a Bug 853306 - Make the GStreamer backend play whitelisted codecs only r=doublec 2013-04-11 20:46:46 +12:00
Paul Adenot
210f563736 Bug 847194 - Protect mCodecStates from concurrent accesses. r=cpearce 2013-04-09 15:36:33 +02:00
Paul Adenot
c2c919688b Bug 854336 - Implement the playbackRate property of AudioBufferSourceNode. r=ehsan 2013-04-09 14:47:42 +02:00
Paul Adenot
65213ab746 Bug 852366 - Don't resample on the main thread. r=ehsan,roc 2013-03-18 20:54:32 -04:00
Guilherme Gonçalves
f23959f168 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
f7172b79f4 Bug 859675. Return the canonical nsISupports from ToSupports(SpeechRecognition). r=smaug 2013-04-09 12:26:36 -04:00
Ehsan Akhgari
ee411aafe9 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
6492fd7b5c Backed out changeset 92c2f24cb6ff (bug 854336) because of mochitest-1 crashes 2013-04-09 11:28:42 -04:00
Ehsan Akhgari
1db079c874 Backed out changeset 9c080ffa640f (bug 853551) because of mochitest-1 crashes 2013-04-09 11:28:38 -04:00
Paul Adenot
2f25f9598c Bug 853551 - Implement the doppler part of AudioPannerNode. r=ehsan 2013-04-09 14:47:42 +02:00
Paul Adenot
698db7a073 Bug 854336 - Implement the playbackRate property of AudioBufferSourceNode. r=ehsan 2013-04-09 14:47:42 +02:00
Paul Adenot
13434b9bf9 Bug 852366 - Don't resample on the main thread. r=ehsan,roc 2013-03-18 20:54:32 -04:00
Ehsan Akhgari
0ec2e66722 Bug 859597 - Narrow down the acceptable range for AnalyserNode.fftSize; r=padenot 2013-04-08 21:26:08 -04:00
Ehsan Akhgari
7304bd7736 Bug 859602 - Remove AudioParam.minValue/maxValue; r=bzbarsky 2013-04-08 21:57:54 -04:00
Ehsan Akhgari
a003638449 Bug 859594 - Remove AudioSourceNode; r=bzbarsky 2013-04-08 22:45:02 -04:00
Ehsan Akhgari
c1ab51694e 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
bc8acbe2a1 Backed out changeset 35178de36bd3 (bug 855704) for frequent mochitest failures. 2013-04-08 19:50:03 -04:00
Guilherme Gonçalves
f18eb7aa97 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
533f569684 Bug 837051 - Store less buffers for video playback at MediaOmxReader. r=doublec 2013-04-08 14:35:30 -04:00
Randell Jesup
a15d1c6211 Bug 845741: Set mUpdateFinished under lock r=roc 2013-04-08 08:03:33 -04:00
Masatoshi Kimura
7c989863ee 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
33fffc4f61 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
3fd9508e9f Bug 857994, fix compilation on some older GCCs, r=smaug 2013-04-07 01:24:27 +03:00
Diego Wilson
788b16a9ac Bug 847779 - Abort playback if OMX audio init fails. r=doublec, r=cpearce 2013-04-04 15:33:45 -07:00
Dan Mosedale
426c04e030 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
7c920afb61 Bug 855704 - Log error messages in webspeech. r=smaug 2013-04-03 17:43:36 -07:00
Ehsan Akhgari
c7fbc3c48c 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
49b83f0652 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
5e9cc4e408 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
425c80f927 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
a6ee6b2e88 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
09a986be62 Bug 525444 - (Part 2/3) Added speech service API. r=smaug 2013-04-03 15:13:17 -07:00
Eitan Isaacson
79a685a6a4 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
cc7113a844 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
45253e09ed Bug 850587 - Test for autoplay not working with MediaStreams. r=roc 2013-04-02 23:58:48 -07:00
Steve Workman
0574e54c10 Bug 855064 - Exclude DASH code from default builds r=cpearce 2013-04-02 17:05:00 -07:00
Steve Workman
fc6911c83d Bug 855064 - Remove DASH references in media unit tests r=cpearce 2013-04-02 17:05:00 -07:00
Ehsan Akhgari
78fbea8be5 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
e0e0ce11ba 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
Ehsan Akhgari
3c40a3eb52 Bug 855990 - Part 5: Implement the analysis routines of AnalyserNode; r=padenot
--HG--
extra : rebase_source : dc459a731d5793c169f73271f2d2043d472288e4
2013-04-01 19:26:17 -04:00
Ehsan Akhgari
a2082a2c28 Bug 855990 - Part 4: Send the buffer seen by AnalyserNodeEngine to AnalyserNode; r=padenot
--HG--
extra : rebase_source : be0b1c8197c1e8582d9dda31a74484901c665b79
2013-04-01 17:35:18 -04:00
Ryan VanderMeulen
8932ecc1a7 Backed out changeset 8ed978214fdb (bug 850587) for frequent Windows debug failures. 2013-04-02 09:47:53 -04:00
Ehsan Akhgari
cb88ab6e9e Bug 856329 - Create an engine for BiquadFilterNode and make sure that we deliver the right parameteres to it; r=padenot
--HG--
extra : rebase_source : a06e3c79aa1ecbab0fa1b9ec01f0bccf466694ee
2013-03-29 19:11:58 -07:00
Ehsan Akhgari
9656ffcb3e Bug 856328 - Part 2: Create an engine for DynamicsCompressorNode and make sure that we deliver the right parameteres to it; r=padenot
--HG--
extra : rebase_source : 9a3257ca7e53c67353a3dc46318815ee2e465d44
2013-03-29 16:18:20 -07:00
Ehsan Akhgari
382b80c6dc Bug 856328 - Part 1: Refactor sending an AudioParamTimeline to the stream into an AudioNode helper; r=padenot
--HG--
extra : rebase_source : 8e2331ded7c35d1a6e9057c5be5ad31a959beed9
2013-03-29 18:46:03 -07:00
Ehsan Akhgari
20bf730bff Bug 856771 - Protect the source buffer nodes from leaking when their binding goes away without being played back; r=roc 2013-04-01 16:06:55 -04:00
Robert O'Callahan
8bb6e132c9 Bug 850587. Test. r=jsmith 2013-03-25 22:34:28 +13:00
Ehsan Akhgari
28ce05cf89 Bug 855990 - Part 1: Implement the DOM bindings to AnalyserNode; r=bzbarsky 2013-03-31 23:41:14 -04:00
Andrew Quartey
e0936f71a7 Bug 742537 - Remove HTMLMediaElement.initialTime attribute. r=cpearce,doublec 2013-04-01 20:38:54 -04:00
Ehsan Akhgari
99e9635eee Backed out changeset 81bad314826a (bug 855990) because of build bustage 2013-04-01 18:41:30 -04:00
Ehsan Akhgari
f89c6909de Bug 855990 - Part 1: Implement the DOM bindings to AnalyserNode; r=bzbarsky 2013-03-31 23:41:14 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Jan Beich
e299ad20d5 Bug 855728 - Always export FakeSpeechRecognitionService.h. r=gps 2013-03-28 15:41:32 -04:00
Sotaro Ikeda
9174c6b903 Bug 850566 - Part 3: Set video size to SurfaceDescriptorGralloc. r=doublec 2013-03-28 09:59:48 -04:00
Guilherme Goncalves
00666c874f Bug 650295 - Add tests for speech recognition. r=smaug 2013-03-27 14:14:22 -07:00
Guilherme Goncalves
c48d442559 Bug 650295 - Implement main state machine for speech recognition. r=smaug 2013-03-27 14:13:57 -07:00
Shelly Lin
21faee1c5e Bug 847809 - Add audio/amr to the supported decode type, but disable it if this AMR is loaded from Web pages. r=roc 2013-03-22 10:56:22 +08:00
Brian R. Bondy
d663141a67 Bug 825153 - WMF support in WinVista. r=padenot 2013-03-26 10:40:01 -04:00
Jan Varga
8ed93ed02a Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Ehsan Akhgari
a01b9d645e Bug 854741 - Change the parameter to createDelay to be in seconds, not minutes; r=roc 2013-03-25 15:44:14 -04:00
Ehsan Akhgari
8d2cf011d8 Bug 853963 - Make the case where the listener and panner are at the same spot with 360 cone angles really a no-op; r=padenot 2013-03-22 15:32:24 -04:00
Ed Morley
74e160381c Bug 754860 - Line continuation characters aren't overridden by commenting the line (when are we switching to tup again?) 2013-03-23 00:57:17 +00:00
Ehsan Akhgari
f2d00f14f9 Bug 849230 follow-up: Fix expectException to actually check the exception code, and don't use imaginary DOMException names!
--HG--
extra : rebase_source : df53ddca50487bfc10676fd43e98abb949a2c298
2013-03-22 19:57:08 -04:00
Ed Morley
53771aecf7 Bug 754860 - Disable test_bug726904.html for too many intermittent failures 2013-03-22 23:13:46 +00:00
Ehsan Akhgari
6ef7b36453 Bug 853718 - Pause the AudioContext when it is being torn down; r=bzbarsky 2013-03-21 23:07:44 -04:00
Ehsan Akhgari
a2906ca105 Bug 815492 - Pause Web Audio playback when entering the bfcache, and resume it when coming out of the bfcache; r=bzbarsky 2013-03-21 22:59:33 -04:00
Ehsan Akhgari
6b810bc361 Bug 853721 - Part 1: Refactor the code to convert GainNode's AudioParamTimeline to ticks into WebAudioUtils; r=roc 2013-03-22 00:01:28 -04:00
Edwin Flores
f04dcb6e91 Bug 846465 - Fix OMX plugin crash on HTC One X r=doublec 2013-03-22 15:24:47 +13:00