Commit Graph

2971 Commits

Author SHA1 Message Date
Ms2ger
7ffcd856c2 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger
cefa43a749 Bug 912099 - Part a: Make sure CPP_SOURCES only points to existing files in most of the tree; r=mshal 2013-10-03 09:10:00 +02:00
Ms2ger
105ce73cfa Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Masayuki Nakano
5e5853070a Bug 920377 part.31 Get rid of nsEvent r=roc 2013-10-02 12:46:04 +09:00
Ehsan Akhgari
4818a0f3af Bug 923151 - Part 2: Don't #include nsIDocument.h in mozilla/dom/Element.h; r=jst
--HG--
extra : rebase_source : 8c5f5429574313a1304eb2779cdb6b5702e4094d
2013-10-02 16:09:18 -04:00
Ed Morley
1b0a2c0479 Backed out changeset dc8642fe6529 (bug 893309) for build failures 2013-10-02 15:59:07 +01:00
Andrew Quartey
d5a48c9f44 Bug 893309 - Implement TrackEvent. r=cpearce 2013-10-02 10:30:29 -04:00
Ehsan Akhgari
180798444f Bug 922933 - Don't #include nsIDocument.h in nsIContent.h; r=jst
--HG--
extra : rebase_source : 51f56fa27604224eacc2ba384bb826c49f4f917f
2013-10-02 07:40:07 -04:00
Matt Woodrow
d188bf5f9a Bug 921910 - Invalidate when we change the frame of an asynchronous ImageContainer that is part of a main-thread layer tree. r=roc 2013-10-02 16:05:49 +13:00
Matt Woodrow
9ad44524fe Bug 886219 - Force an invalidation when an async video finishes. r=nical 2013-10-02 16:05:34 +13:00
Robert O'Callahan
e2de87eee6 Bug 922601. Use StreamTimeToGraphTime to get the correct conversion to graph time. r=padenot
--HG--
extra : rebase_source : 148da9b3fdc1cd6fb12489ad20d724218fcd75d1
2013-10-01 22:28:49 -04:00
Nicolas Silva
8605f47406 Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob 2013-10-01 17:57:50 -07:00
Steven Lee
920772d32e Bug 918056 - Return errors when the mic is occupied. r=rjesup 2013-10-01 08:06:57 -04:00
Sotaro Ikeda
bdb3259801 Bug 914870 - Reduce mp3 parse chunk buffer size to 32KiB. r=doublec 2013-10-01 08:06:57 -04:00
David Anderson
c8133fee65 Rename IPDL's RPC to Interrupt (bug 910020, r=bent).
--HG--
rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl
rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h
rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp
rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h
rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl
rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl
rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
2013-09-30 17:27:45 -07:00
Ehsan Akhgari
e85e1b2a99 Convert the Web Audio DynamicsCompressorNode fatal assertion to a warning, because it should not be a fatal assertion (no bug) 2013-09-30 18:20:03 -04:00
Karl Tomlinson
2900c28a02 b=910174 add DelayNode's tail-time reference as soon as the engine receives sound r=ehsan
This removes the dependence on AllInputsFinished() which didn't return true
for many input types.

The DelayProcessor is no longer continuously reset (bug 921457) and the
reference is now correctly added again when all inputs are finished and then
new inputs are connected.

--HG--
extra : rebase_source : b85c62305a6fcfce57bd40a11edaeaaf2a63c188
2013-10-01 09:50:04 +13:00
Karl Tomlinson
ba487756fb b=921675 use maximum instead of current delay for tail time because delay can increase faster than time passes r=ehsan
--HG--
extra : rebase_source : b74864829e5fa0cdfbd555d93d2c71dd656f2258
2013-10-01 09:50:03 +13:00
Karl Tomlinson
2723d7ceb7 test for bug 920987
--HG--
extra : rebase_source : 0e049c2e25f60bfff2dd45869a770ed9055c9de2
2013-10-01 09:49:31 +13:00
Paul Adenot
ecada2c0f4 Bug 921099 - Remove alignment assertions in AudioNodeEngineNEON.cpp for now. r=ehsan 2013-09-30 15:04:54 -04:00
Ed Morley
f2ee101f41 Bug 897843 - Disable test_media_selection.html on Windows for too many intermittent failures 2013-09-30 17:37:44 +01:00
Gregory Szorc
e53ac5e38d Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley
d84dee3273 Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Gregory Szorc
cabc6369a6 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ehsan Akhgari
95088a8476 Bug 919572 follow-up: remove two unused variables 2013-09-28 17:08:30 -04:00
Edwin Flores
f3bb4d41d8 Bug 919572 - Refactor the MP3 frame parser r=cpearce 2013-09-28 16:33:32 +12:00
Wes Kocher
6955900c30 Merge m-c to inbound 2013-09-27 20:38:44 -07:00
Wes Kocher
3039134040 Merge b2g-inbound to m-c 2013-09-27 19:35:44 -07:00
Karl Tomlinson
f9066d3992 b=912474 use speex_resampler_process_int on platforms where speex_resampler_process_float expects samples in the range +/-32767 r=ehsan
--HG--
extra : rebase_source : 48b08dc174e49d26b80ac4e439f97c5e2fa65f58
2013-09-28 12:16:57 +12:00
Karl Tomlinson
ecc21d91ce b=920987 check for ovrflw in addition r=ehsan
--HG--
extra : rebase_source : 759d416f4697bb60dd24b104678b6fb259ee308d
2013-09-28 12:11:26 +12:00
Martijn Wargers
a0b7efa9b2 Bug 918604 - Remove more enablePrivilege calls. r=jmaher 2013-09-25 19:32:20 +02:00
Ryan VanderMeulen
605ce41d5a Backed out changeset 356ba083bb5f (bug 918604) for frequent OSX test_window_bar.html timeouts.
CLOSED TREE
2013-09-27 18:28:43 -04:00
Rick Eyre
bcc32d6136 Bug 920088 - TextTrackRegion's TextTrack should point at the correct TextTrack. r=rillian 2013-09-24 11:59:17 -04:00
Randy Lin
fb704ff2ef Bug 919051 - Media Recording - memory leak when record a media stream without any tracks. r=roc, r=jsmith 2013-09-27 17:56:16 +08:00
Ryan VanderMeulen
4daff368b0 Merge b2g-inbound to m-c. 2013-09-26 21:32:43 -04:00
CJKu
83ac5c069e Bug 909670 - Test case for for the MediaRecorder::Session. r=jsmith 2013-09-26 09:40:41 -04:00
CJKu
1303853d97 Bug 909670 - MediaRecorder - Implement MediaRecorderSession. r=roc 2013-09-26 09:40:40 -04:00
Ryan VanderMeulen
4aa7a9776b Merge the last PGO-green inbound changeset to m-c. 2013-09-25 14:51:55 -04:00
Rick Eyre
f851af8541 Bug 919265 - Part 2: Add ClearOnShutdown() call on the static WebVTTParserWrapper. r=bz 2013-09-24 15:17:15 -04:00
Rick Eyre
0ccec53362 Bug 919265 - Part 1: Fix TextTrackCue() crashtests to use VTTCue(). r=bz 2013-09-23 13:59:49 -04:00
Eitan Isaacson
753926a8b4 Bug 918989 - Have nsPicoService only start in main gecko process. r=smaug 2013-09-24 23:57:28 -07:00
Gian-Carlo Pascutto
4b6f20b8c6 Bug 918372 - Allocate a single GlobalRef for the Android Context. r=blassey 2013-09-25 08:06:21 +02:00
Karl Tomlinson
43ab17cb5c b=920338 disable oscillator-ended-{1,2} if B2G due to intermittent timeouts DONTBUILD
--HG--
extra : rebase_source : fb21d08d27038bb7f7293b92aac1b6fa4b9bba4d
2013-09-25 15:14:29 +12:00
Randell Jesup
f6a1a85cec Bug 917491: Guarantee cleanup of AsyncLatencyLogger on xpcom-shutdown r=bsmedberg 2013-09-24 22:10:24 -04:00
Benoit Jacob
c1d7f88886 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Jacek Caban
822115bfb3 Bug 919513 - content/media/directshow fails to compile on GCC. r=cpearce 2013-09-24 10:41:00 +02:00
Karl Tomlinson
b8a725fb28 b=908306 revert 9df04b16a655 and 2e7089db4e86 to re-enable some b2g webaudio crashtests
--HG--
extra : transplant_source : %F8%7E%F0%9Dr%2AV%09g%D4%2AX%D0iC%81n%22D%A5
2013-08-22 14:04:41 -04:00
Karl Tomlinson
8aee54525c b=918221 don't remove OscillatorNode playing ref on stop() but wait until finished r=ehsan
--HG--
extra : transplant_source : %A6%90%DB%00%FD5.%40%ED%F6l%17%E69E%D6%40%B5%EA%2A
2013-09-24 13:48:56 +12:00
Karl Tomlinson
39cd241c89 b=918213 dispatch onended from OscillatorNode even when stop time is before start r=ehsan
This makes OscillatorNode consistent with AudioBufferSourceNode

--HG--
extra : transplant_source : %AE8%3B%B4%E5M%60%03%CBN.%21%BD%FF%60%A6%F2a%BDi
2013-09-24 13:48:35 +12:00
Karl Tomlinson
b94c627651 b=918212 make OscillatorNode a MainThreadListener for its stream so that ended is dispatched r=ehsan
--HG--
extra : transplant_source : %9D%B8%82%B3%B1%99%C6%CE%1C%E1%DDs%D1%40%EA%E3%DD%D2%01%A4
2013-09-24 13:47:30 +12:00
Karl Tomlinson
25c1986ed9 b=914033 add active nodes to CC traversal of AudioContext when the context is not rendering r=ehsan
An OfflineAudioContext needs to keep references to nodes that will be used if
startRendering() is called.  If, however, the last reference to the Context is
removed, then startRendering() will not be called and so the nodes will not be
used and can be unlinked now.

--HG--
extra : transplant_source : %D4%91%0B%99K%2A%3E%906%1D%08%5D%60%84%B8%25O%3C%08D
2013-09-24 13:47:30 +12:00
Karl Tomlinson
3c9be2c42f b=914033 use AudioContext::RegisterActiveNode() in AudioBufferSourceNode r=ehsan
Storing references on the AudioContext instead of on the AudioNodes will allow
the AudioContext to report them to the cycle collector until offline rendering
starts.

--HG--
extra : transplant_source : %13%87%97%9F%CD%D8V%16%D2%D4%B5%84D%0A%D6%02%9BNj%FC
2013-09-24 13:47:00 +12:00
Karl Tomlinson
4314cfc6df b=914033 use AudioContext::RegisterActiveNode() in ScriptProcessorNode r=ehsan
Storing references on the AudioContext instead of on the AudioNodes will allow
the AudioContext to report them to the cycle collector until offline rendering
starts.

--HG--
extra : transplant_source : %CD%5Els2%7F/%DD%5E%07%08%FE%29%5B%98%95%F3%11G%E6
2013-09-24 13:46:30 +12:00
Karl Tomlinson
a15c0a10b9 b=914033 use AudioContext::RegisterActiveNode() in OscillatorNode r=ehsan
Storing references on the AudioContext instead of on the AudioNodes will allow
the AudioContext to report them to the cycle collector until offline rendering
starts.

--HG--
extra : transplant_source : %81%83Hp%F6T%E7%9EA%B3%D0%5Dz%EA%1FYv%A2%23%ED
2013-09-24 13:45:41 +12:00
Karl Tomlinson
96c21b6110 b=903270 remove default null initial event parameter from NS_NewNamedThread() call site r=chiajung
--HG--
extra : transplant_source : %A9F%B6%CD%ED%DF%96%9C%AD%DE%B1%8E%3F%90%5E%DA%10%D2%7D%8E
2013-09-24 13:45:23 +12:00
Ehsan Akhgari
276e4b787c Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
Rick Eyre
66a0475d9e Bug 917945 - Part 3: Add VTTRegions to its TextTrack upon receiving them. r=rillian, r=bz 2013-09-18 12:46:51 -04:00
Rick Eyre
fc4a14a980 Bug 917945 - Part 2: Add RegionId attribute to VTTCue. r=rillian 2013-09-18 13:29:20 -04:00
Rick Eyre
5e94197e01 Bug 917945 - Part 1: Expose TextTrackRegion* as VTTRegion*. r=rillian, r=bz
--HG--
rename : dom/webidl/TextTrackRegion.webidl => dom/webidl/VTTRegion.webidl
rename : dom/webidl/TextTrackRegionList.webidl => dom/webidl/VTTRegionList.webidl
2013-09-20 14:42:35 -04:00
Eitan Isaacson
8b6200189d Bug 921123 - Fix case where utterance is cancelled before it is started. r=smaug 2013-09-27 10:03:05 -07:00
Martijn Wargers
dfe0e2b248 Bug 918604 - Remove more enablePrivilege calls. r=jmaher 2013-09-25 19:32:20 +02:00
Matthew Gregan
e1f44d3688 Bug 920867 - Split VideoInfo into Video and Audio objects, then encapsulate in new MediaInfo object. r=cpearce 2013-09-27 17:22:38 +12:00
Matthew Gregan
9ee50256f5 Bug 905513 - Annotate functions with virtual/MOZ_OVERRIDE and document use of SBR monitor. 2013-09-27 17:22:38 +12:00
Matthew Gregan
e17f79f435 Bug 905513 - Don't clobber audio VideoInfo fields when accepting video configuration. r=doublec 2013-09-27 17:22:38 +12:00
Matthew Gregan
beea9c27d4 Bug 905513 - Use pushPrefEnv instead of setBoolPref, and reenable test on Android. r=doublec 2013-09-27 17:22:37 +12:00
Matthew Gregan
2d3d5db790 Bug 905513 - Rework MediaSource/MediaElement integration and implement limited initial multiple-decoder support. r=doublec 2013-09-27 17:22:37 +12:00
Matthew Gregan
77d98715f1 Bug 905513 - Fix typo in AsyncEventRunner and BufferDecoder. r=doublec 2013-09-27 17:22:37 +12:00
Rick Eyre
f8467f7947 Bug 867823 - Implement TextTrack Add/RemoveCue. r=rillian
- Updated RemoveCue to throw NotFoundError if the cue being removed is
not in the cue list.
- Updated AddCue to not add cues that are already in the list. This is
done by reference comparing.
2013-06-28 13:31:43 -04:00
Phil Ringnalda
599bc6ea85 Back out 4a9ca7d8c499 (bug 918135) for frequent OS X orange 2013-09-22 22:23:56 -07:00
Edwin Flores
575ab1a00f Bug 918135 - Improve MP3 stream duration estimate r=cpearce 2013-09-23 14:46:01 +12:00
Ehsan Akhgari
45d655ec96 Bug 919325 - Minimize the #includes in content/ IDL files; r=bzbarsky
--HG--
extra : rebase_source : 923a665eadc62046c9d5398a25187a3331fd8d25
2013-09-22 19:23:30 -04:00
ISHIKAWA, Chiaki
3188ebf6ee Bug 918234 - Use a proper StaticRefPtr type in Latency.cpp. r=bsmedberg, r=padenot 2013-09-20 10:28:09 -04:00
Rick Eyre
e8228fcef0 Bug 895091 - Part 5: Test for multiple WebVTT files loading at once r=khuey 2013-09-10 07:13:00 -07:00
Rick Eyre
47679c1a5c Bug 895091 - Part 4: Turn text track cue tests back on r=rillian 2013-09-05 07:57:00 -07:00
Rick Eyre
94ba4131a5 Bug 895091 - Part 3: Add JS WebVTT parser code in (vtt.js) r=rillian, ted, gwagner, khuey
- Current source code for vtt.js can be found at:
https://github.com/andreasgal/vtt.js
- vtt.js code taken from commit 6bca57d265fc58cff091148b426ec69f576057d7.
2013-09-17 12:31:00 -07:00
Rick Eyre
51719c804f Bug 895091 - Part 2: Add WebVTT parser and wrapper IDls r=rillian, ted, gwagner, khuey
- Added vtt.js, a JS WebVTT parser, to Gecko.
- Added a wrapper to interface between it and Gecko.
- Updated TextTrackCue and WebVTTListener to work with it.

--HG--
rename : content/media/WebVTTLoadListener.cpp => content/media/WebVTTListener.cpp
rename : content/media/WebVTTLoadListener.h => content/media/WebVTTListener.h
2013-09-19 08:26:00 -07:00
Rick Eyre
8dd8551b49 Bug 895091 - Part 1: Remove references to C WebVTT parser and unused code r=rillian
- Remove left over references to WebVTT C parser in TextTrackCue and
WebVTTListener classes.
- Remove miscellaneous unused code as well and included libraries as
well.
2013-09-10 06:53:00 -07:00
Ed Morley
e6e697ac09 Bug 897108 - Disable test_playback_rate_playpause.html for too many intermittent failures 2013-09-19 14:54:10 +01:00
Benoit Jacob
eeccdc3ba1 Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-19 09:54:42 -04:00
Benoit Jacob
f9813a5b18 Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Paul Adenot
b4ee1e68de Bug 881959 - Handle self-connection. r=ehsan
--HG--
extra : rebase_source : f2d4a0a28cb85668f80c58d1a56926f65ea40e72
2013-09-16 17:37:27 +02:00
Paul Adenot
14628109ab Bug 881959 - Clamp the DelayNode.delayTime to 128/AudioContext.sampleRate when in a cycle. r=ehsan
--HG--
extra : rebase_source : 7cf8945371bb6ff169ad61a8ccdda0ece36b5e83
2013-09-02 15:15:24 +02:00
Paul Adenot
7fb6ee6768 Bug 881959 - Tests for cycles in WebAudio graphs. r=ehsan
--HG--
extra : rebase_source : 5366c6aa0bb59f14adee74a3088488f9b15b52b1
2013-09-02 15:14:51 +02:00
Ehsan Akhgari
fae6b888e6 Bug 881959 - Tell the MediaStreamGraph when changes to the graph occur. r=roc
--HG--
extra : rebase_source : f5c0021e35fa0b66cc45434b5d23742ff3cc3019
2013-09-13 18:12:07 +02:00
Paul Adenot
7c95321d67 Bug 881959 - Mute WebAudio nodes that are part of a cycle that contains no DelayNode, and make cycles work. r=ehsan
--HG--
extra : rebase_source : d4bc378128cf15f8d8395b45b4443ca6b06c5bd2
2013-08-26 19:19:36 +02:00
Chris Pearce
ede5d5a39d Bug 916836 - Handle jumps off the end of the buffer in MP3FrameParser. r=padenot 2013-09-19 16:10:43 +12:00
Wes Kocher
508c0eaa0a Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Wes Kocher
0ef93db36c Backed out changeset 040522aacba4 (bug 913847) 2013-09-18 17:18:56 -07:00
Karl Tomlinson
078c7bc257 b=917260 null check mDestination in AudioContext::Shutdown() r=ehsan
This handles the case where Shutdown() is called after Unlink()
(but before the destructor).

--HG--
extra : transplant_source : %97A%BE%60%F5j%F5%F0GT%C2%B6%F8%A2%BD%13%2B%02%83R
2013-09-19 12:04:13 +12:00
Paul Adenot
611d691e3a Bug 917260 - Nullcheck Destination() in AudioContext::DestinationStream. r=ehsan 2013-09-17 15:23:52 +02:00
Benoit Jacob
6560634fb1 Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Benoit Jacob
5bf87f575b Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Randell Jesup
f1dc6db9a7 Bug 886052: Turn on audio webrtc_trace logs for getUserMedia r=gcp 2013-09-18 17:12:38 -04:00
Ralph Giles
fcdbb897d4 Backed out changeset f56acf83688c (bug 895091) r=bustage CLOSED TREE 2013-09-18 13:47:43 -07:00
Ralph Giles
3da8f547a2 Backed out changeset e110a9187bb1 (bug 895091)
--HG--
rename : content/media/WebVTTListener.cpp => content/media/WebVTTLoadListener.cpp
rename : content/media/WebVTTListener.h => content/media/WebVTTLoadListener.h
2013-09-18 13:47:07 -07:00
Ralph Giles
4ef7a14aef Backed out changeset 330a415e7723 (bug 895091) 2013-09-18 13:47:05 -07:00
Ralph Giles
057477b632 Backed out changeset feca3867b395 (bug 895091) 2013-09-18 13:47:04 -07:00
Ralph Giles
98a46c2b26 Back out 813a35c5b24a for ASan failure. r=bustage CLOSED TREE
Only one test is failing (so far) and the feature itself is
behind a pref, so this doesn't affect users.
2013-09-18 13:31:40 -07:00
Rick Eyre
1c35b391bd Bug 895091 - Test for multiple WebVTT files loading at once r=khuey 2013-09-10 07:13:00 -07:00
Rick Eyre
aea38bd863 Bug 895091 - Turn text track cue tests back on r=rillian 2013-09-05 07:57:00 -07:00
Rick Eyre
966126401b Bug 895091 - Add JS WebVTT parser code in (vtt.js) r=rillian, ted, gwagner, khuey
- Current source code for vtt.js can be found at:
https://github.com/andreasgal/vtt.js
- vtt.js code taken from commit 6bca57d265fc58cff091148b426ec69f576057d7.
2013-09-17 12:31:00 -07:00
Rick Eyre
2c50da9c5e Bug 895091 - Add WebVTT parser and wrapper IDLs r=rillian, ted, gwagner, khuey
- Added vtt.js, a JS WebVTT parser, to Gecko.
- Added a wrapper to interface between it and Gecko.
- Updated TextTrackCue and WebVTTListener to work with it.

--HG--
rename : content/media/WebVTTLoadListener.cpp => content/media/WebVTTListener.cpp
rename : content/media/WebVTTLoadListener.h => content/media/WebVTTListener.h
2013-09-10 06:59:00 -07:00
Rick Eyre
b3ba92341d Bug 895091 - Remove references to C WebVTT parser and unused code r=rillian
- Remove left over references to WebVTT C parser in TextTrackCue and
WebVTTListener classes.
- Remove miscellaneous unused code as well and included libraries as
well.
2013-09-10 06:53:00 -07:00
Trevor Saunders
d3b7eeaa09 bug 915566 - rm another makefile in content/ r=mshal 2013-09-12 07:14:42 -04:00
Trevor Saunders
6957ef1b01 bug 915566 - rm Makefiles in content/ r=ted 2013-09-12 03:52:58 -04:00
Ralph Giles
f574450bd6 Bug 865256 - Part 4: Implement custom waveforms. r=ehsan,padenot
Copy the periodicWave data into a shareable buffer.

Add a SetBuffer call to send the buffer data to the
OscillatorNodeEngine. Call into blink's PeriodicWave
implementation to generate bandlimited tables bracketing
the desired frequency and interpolate the output data
from them.

Change the PeriodicWave constructor to only take one
length, since both arrays must be the same size.

Change OscillatorNode's SetType to throw INVALID_STATE
instead of NOT_IMPLEMENTED if js tries to assign
type = 'custom' directly.
2013-08-28 15:39:26 -07:00
Ralph Giles
d120591c10 Bug 865256 - Part 3d: Port blink's PeriodicWave to gecko. r=ehsan
Changes to use gecko infrastructure.
2013-09-10 14:33:03 -07:00
Ralph Giles
fd839881f9 Bug 865256 - Part 3c: Import blink's PeriodicWave. r=ehsan
From 3807300c75ae70f004b76cbce023e59a0367e09b Mon Sep 17 00:00:00 2001
This is the original code from blink svn trunk r157670 for reference.
This commit has no porting or build support, to make subsequent changes
easier to identify.
2013-09-10 14:29:51 -07:00
Ralph Giles
3006203577 Bug 865256 - Part 3b: Add a complex->real ifft to FFTBlock. r=ehsan
From ea43bceaf8f6dd2c44d7f55a45f770be19b335a5 Mon Sep 17 00:00:00 2001
Currently FFTBlock only holds the complex frequency domain data
internally, reading and writing to external time domain data
buffers. For PeriodicWave we need to create a real, time domain
signal from real and imaginary frequency domain data. This method
does this without touching the internal output buffer at all.
FFTBlock is just used as a wrapper for kiss_fft_cfg.
2013-09-10 11:00:17 -07:00
Ralph Giles
0713177406 Bug 865256 - Part 3a: Add AudioBufferPeakValue utility. r=ehsan
From 6c057c02970c79d620527d08bc3755491c99b1d3 Mon Sep 17 00:00:00 2001
This is an equivalent, C-only implementation of blink's
VectorMath::maxmgv or Apple's vDSP_maxmgv. It finds the
maximum absolute value of the elements in a float buffer.
Used by blink's PeriodicWave implementation for normalization.
2013-09-10 10:54:17 -07:00
Paul Adenot
8f5abfa81f Bug 908669 - Use band-limited impulse trains (BLIT) for OscillatorNode. r=rillian
This fixes the aliasing noise in the default oscillator types.
2013-09-17 10:36:00 -07:00
Chris Pearce
7fb506d1f8 Bug 915957 - Move MediaDecoder::NotifyBytesConsumed() calls into MediaResource, so we don't need to remember to do them in all decoder backends. r=kinetik 2013-09-18 15:37:23 +12:00
Karl Tomlinson
55c4867ce7 b=916680 don't keep active AudioNodes alive from an AudioContext that has shut down r=ehsan
--HG--
extra : transplant_source : %20%3Fl%E0%D7R%7B_%E6%B0%C7%BB%3A%E7%21%9D%F1%A2%F4%1C
2013-09-18 13:10:30 +12:00
Karl Tomlinson
9a843336e3 b=910171 register tail references with the AudioContext so they can be removed when the rendering is complete r=ehsan
--HG--
extra : transplant_source : %8C%C3%C2%2B%1B%E9Q%9B%0E%DE%B4%AA%02%B2%D1%A0S%F1%EC%0D
2013-09-17 11:54:52 +12:00
Karl Tomlinson
608b070c45 b=910171 add a general means to keep active nodes alive from the AudioContext r=ehsan
AudioNodes that keep playing or tail-time references need to have these
references cleared when an AudioContext has completed or is shut down by the
window.

Storing references on the AudioContext instead of on the AudioNodes will allow
the AudioContext to report playing references to the cycle collector until
offline rendering starts for bug 914033.  This is not necessary for tail-time
references, but it is tidier to use the same code for playing and tail-time
references.

--HG--
extra : transplant_source : %E0%F1%06%BFV%B6XI%9BX%8E%8D7%3FsU%8F%F9%14r
2013-09-17 11:53:40 +12:00
Karl Tomlinson
f0f3cd0ecb b=916422 make OfflineAudioContext::StartRendering() throw if called more than once r=ehsan
--HG--
extra : transplant_source : %B6T%C0C%F0/%03%A3C%25%9B%EF%A8%C41%8E%86%E9%FCr
2013-09-16 17:14:45 +12:00
Paul Adenot
5d34d71eef Bug 916773 - Initialize mLatency in SharedBuffer's constructor. r=ehsan 2013-09-16 17:37:26 +02:00
Marcus Saad
2276d0a676 Bug 903425 - Update TextTrackCue::Vertical to be a DirectionSetting enum. r=rillian
Following up with the changes made in http://dev.w3.org/html5/webvtt/#dfn-dom-vttcue-vertical, this patch comes to create a new enum to validate and control the possible values for TextTrackCue::Vertical. Throwing behavior was removed for spec conformance.
2013-09-12 11:07:14 -03:00
Ehsan Akhgari
ef3770d249 Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky 2013-09-17 12:49:07 -04:00
Eitan Isaacson
f03f348ad5 Bug 904687 - Introduce Svox Pico speech synthesis service. r=smaug f=gps
- moz.build updates.
 - Use nsISupports thread-safe decleration macros.
 - Also with PicoVoice, changed to thread-safe add/remove ref macro. We are now creating them off main thread.
 - Do initialization off main thread, but go back to main thread to register the voices.
2013-09-17 09:40:07 -07:00
Ed Morley
a3ff7956ba Backed out changeset 9524b1df278e (bug 908669) 2013-09-17 17:14:58 +01:00
Ed Morley
6a8bde5bc5 Backed out changeset fb89f2090779 (bug 881959) 2013-09-17 17:14:55 +01:00
Ed Morley
f2619af990 Backed out changeset fe576415129e (bug 881959) 2013-09-17 17:14:52 +01:00
Ed Morley
845ddef04c Backed out changeset 5e5d5e42f6c2 (bug 881959) 2013-09-17 17:14:49 +01:00
Ed Morley
fc3dc2a135 Backed out changeset b221626331b4 (bug 881959) 2013-09-17 17:14:45 +01:00
Ed Morley
14cbc2101a Backed out changeset 2aa38a1a2b06 (bug 881959) 2013-09-17 17:14:42 +01:00
Ed Morley
1b19fad168 Backed out changeset 3d2aac8dc618 (bug 916773) 2013-09-17 17:14:39 +01:00
Ed Morley
b566ba4f8e Backed out changeset ade49a801461 (bug 881959) 2013-09-17 17:14:36 +01:00
Ed Morley
6013f526dd Backed out changeset 4323508b3412 (bug 917260) 2013-09-17 17:14:33 +01:00
Ed Morley
8ff05e11a4 Backed out changeset 924b0619e616 (bug 881959) 2013-09-17 17:14:29 +01:00
Ed Morley
5ec4d375ee Backed out changeset 7d17f2d129e3 (bug 881959) 2013-09-17 17:14:26 +01:00
Paul Adenot
35cd2c5606 Bug 881959 - Fix inbound bustage on XP again, on a CLOSED TREE. 2013-09-17 17:25:33 +02:00
Paul Adenot
136940c8bc Bug 881959 - Fix inbound bustage on XP. 2013-09-17 16:25:13 +02:00
Paul Adenot
06ee843621 Bug 917260 - Nullcheck Destination() in AudioContext::DestinationStream. r=ehsan
--HG--
extra : rebase_source : daec86b27d8497ba109ca998f0fccf3d6d7c3677
2013-09-17 15:23:52 +02:00
Paul Adenot
d4d8b9bcb9 Bug 881959 - Handle self-connection. r=ehsan
--HG--
extra : rebase_source : 02ef02b921df39dcb647096a10a1fa4e85161c70
2013-09-16 17:37:27 +02:00
Paul Adenot
eeb99d293f Bug 916773 - Initialize mLatency in SharedBuffer's constructor. r=ehsan
--HG--
extra : rebase_source : a40fb148498981c1a65a5cd9756201b90d8d98a4
2013-09-16 17:37:26 +02:00
Paul Adenot
65b02e466e Bug 881959 - Clamp the DelayNode.delayTime to 128/AudioContext.sampleRate when in a cycle. r=ehsan
--HG--
extra : rebase_source : 5282e468fbe411a455f65bc0d22b16163db4bd7a
2013-09-02 15:15:24 +02:00
Paul Adenot
a4656230f2 Bug 881959 - Tests for cycles in WebAudio graphs. r=ehsan
--HG--
extra : rebase_source : 6673c86a52952d05e3fdf60205250379ad27d82f
2013-09-02 15:14:51 +02:00
Paul Adenot
d6d78f2064 Bug 881959 - Warn the author when a cycle in a WebAudio graph does not contain a DelayNode. r=ehsan
--HG--
extra : rebase_source : 9383abcce03d0f70208983c22eef051b84560f08
2013-09-13 18:13:37 +02:00
Ehsan Akhgari
e5c162769f Bug 881959 - Tell the MediaStreamGraph when changes to the graph occur. r=roc
--HG--
extra : rebase_source : b71feb43da4f1f86e251dce73f87864af24b61c0
2013-09-13 18:12:07 +02:00
Paul Adenot
f4a229fbf9 Bug 881959 - Mute WebAudio nodes that are part of a cycle that contains no DelayNode, and make cycles work. r=ehsan
--HG--
extra : rebase_source : a92e90a2fb08f784d3a1b7d0701a5dd20595c4ef
2013-08-26 19:19:36 +02:00
Paul Adenot
56edbaaf01 Bug 908669 - Use band-limited impulse trains (BLIT) for OscillatorNode. r=rillian
--HG--
extra : rebase_source : c786c507b48a1fcdd49e7c14482d621a463f6c9c
2013-09-16 16:48:33 +02:00
Robert Longson
5fcefee60d Bug 785140 - Correct SVG whitespace handling in various spots. r=smaug,dholbert 2013-09-17 13:52:39 +01:00
Ehsan Akhgari
e33789d856 Bug 915524 - Implement AudioBuffer.copyFromChannel and AudioBuffer.copyToChannel; r=roc 2013-09-17 07:30:32 -04:00
Rick Eyre
7141a09f73 Bug 883173 - Part 3: Implement TextTrack::ActiveCues. r=cpearce, r=rillian
- Active cues now returns the subset of cues in mCueList that are valid
for the current playback time.
- Introduces new code in media element, when seeking, and in TextTrack, when
adding and removing cues, to mark the active cue list as dirty so that we know
when we might need to rebuild the list completely.
2013-06-14 16:10:36 -04:00
Rick Eyre
cc4dfddc6f Bug 883173 - Part 2: Add insertion sorting for TextTrackCueList::AddCue. r=rillian
- We expect most files to already be sorted, so an insertion sort starting from
the end of the current array should be more efficient than a general sort step
after all cues are loaded
- Added a test for insertion sorting as well.
2013-06-18 13:52:10 -04:00
Rick Eyre
3fbbbdfcda Bug 883173 - Part 1: Rename parameter in TextTrackCue::RemoveCue and AddCue. r=rillian 2013-06-14 15:08:17 -04:00
Ryan VanderMeulen
f7fe44df44 Backed out changeset b83bf0fa7adc (bug 924724) 2013-10-14 23:26:53 -04:00
Randy Lin
841f61c5ef Bug 924724 - Shutdown hang in Media Encoder when running state machine mochitest. r=roc 2013-10-14 12:34:48 +08:00
Paul Adenot
7a97c91578 Bug 904617: Part 3 - Log latency, and adds a python script to understand the log r=padenot,jesup,ehugg 2013-01-28 19:22:37 +01:00