Commit Graph

2700 Commits

Author SHA1 Message Date
Karl Tomlinson
dde1cff092 revert 3171b6ad0055 b=907986
--HG--
extra : transplant_source : K%83%1FS%27%A7%20%82%C4P%08%E5n%8C%830%B6%2C%24%97
2013-09-04 15:02:04 +12:00
Masatoshi Kimura
e2bd26bb53 Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley 2013-09-05 01:02:34 +09:00
Robert O'Callahan
fdbaaa663c Bug 904926. Remove unnecessary lock. r=cpearce
--HG--
extra : rebase_source : 0088907b65ff3ce2e1f15b2bb1b5e0cdb7126f24
2013-09-04 23:13:06 +12:00
Matthew Gregan
e80d2f2424 Bug 911059 - Move WebAudio's BufferDecoder to its own file so it can be shared with MSE. r=cpearce 2013-09-04 15:08:11 +12:00
Matthew Gregan
f1ff293106 Bug 911052 - Use decoder's IsDataCachedToEndOfResource instead of resource's version. r=cpearce 2013-09-04 15:08:10 +12:00
Andrew McCreight
4723c7c5e3 Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv 2013-08-16 13:10:17 -07:00
Paul Adenot
8030d8a57b b=907986 part 3 fold-in 1 remove normalize of unit vector r=padenot 2013-09-03 10:52:55 +02:00
Chris Double
cf15890513 Bug 888816 - Log android device information before checking for stagefright blocklist - r=edwin 2013-09-03 14:37:51 +12:00
Chris Double
e4a3c85df6 Bug 888786 - Part 1: Remove OMX media plugin workarounds for Sony ICS devices - r=edwin 2013-09-03 14:35:54 +12:00
Chris Double
4fd86a693e Bug 812680 - Part 1: Remove OMX media plugin workarounds for HTC One X - r=edwin 2013-09-03 14:34:33 +12:00
Karl Tomlinson
115405f489 b=911777 disable test_delayNodeAtMax.html on Ubuntu(|64) opt builds
--HG--
extra : transplant_source : %27%3E%E7%B8%81%F6%AAg%A8%B0H%86%97%C5/V6%B8%FCh
2013-09-03 12:54:37 +12:00
Karl Tomlinson
88dbfffb29 use existing named constants b=890528
--HG--
extra : transplant_source : %C9%F5%23%A2%CC%D0%E5v%F4%7B%ED%93%0C%B6%D7%E3%CC%C5%B1%A1
2013-09-02 16:53:15 +12:00
Karl Tomlinson
761bd9f94a remove unintentional ! in ed23ecc80370 to test expected buffer frame count when length is supplied b=890528
--HG--
extra : transplant_source : %BB%8E%A8%C2BBFr%A4D%28VG%84%2A%AE%A3qZ%81
2013-09-02 16:53:15 +12:00
Karl Tomlinson
b72d4ec1b9 test for bug 891254
--HG--
extra : transplant_source : %FE%D3%7F%0F%3Da%3A%D9u6Hx2%E22%15fn%14H
2013-09-02 16:52:15 +12:00
Nicholas Nethercote
191ed08f6a Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
JW Wang
9e43d1f576 Bug 907303 - Use fewer local variables to workaround a bug in GCC 4.4.3. r=ehsan 2013-08-30 15:07:33 +08:00
Karl Tomlinson
0d8b5ff1f0 b=890528 Record silence in the delay buffer when there is no input, to avoid echos r=ehsan
--HG--
extra : transplant_source : x%A5%D0%A8%F9%7B%7DX%AA%C5%04%7E.%2C%B6%3A%EF%3F%08%5E
2013-09-02 12:59:34 +12:00
Karl Tomlinson
cc2f88a710 b=890528 delay buffer must be greater than max delay frames to avoid reading what has just been written r=ehsan
--HG--
extra : transplant_source : %86L%3C%C2%F0%A79%E4w%F6u%FD%11d%A9%FCu%F90%E8
2013-09-02 12:59:34 +12:00
Karl Tomlinson
32a9de7cae test for bug 890528
--HG--
extra : transplant_source : B%22%1A%B5%E9%03%D1%A4%D9%20%F7%12%FA%09%10%14%A0%19x%BA
2013-09-02 12:59:31 +12:00
Karl Tomlinson
b7844721cf b=890528 add more documentation and make length optional when createExpectedBuffers is present r=ehsan
--HG--
extra : transplant_source : R%7DJo%87%0C%0D%0FuX%C4%BC%C0%95%08b%5D%DA%D1%BF
2013-09-02 11:27:44 +12:00
Jason Smith
738da5cf84 Bug 903781 - Mochitest for recording media with timeslice for media recording api. r=roc 2013-08-29 09:56:12 -07:00
Ed Morley
2feab2b4d9 Merge latest green inbound changeset and mozilla-central 2013-08-30 17:23:11 +01:00
Randell Jesup
5946f2b5b2 Bug 901583: Reapply mozilla patches on top of webrtc.org 3.34, use NEON detection rs=jesup
--HG--
rename : media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.cc => media/webrtc/trunk/webrtc/modules/audio_device/audio_device_opensles.cc
rename : media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.h => media/webrtc/trunk/webrtc/modules/audio_device/audio_device_opensles.h
2013-08-30 02:08:57 -04:00
Chris Double
05e2fb80be Bug 860599 - Use DataSource::CreateFromURI instead of MediaStreamSource - r=cpearce
--HG--
extra : rebase_source : da5a909d64ad903f86ad7fb76cb306252d8ccaad
2013-08-30 16:51:38 +12:00
Shelly Lin
4ef7a06953 Bug 899935 - Mochitest for stopping the recorder right after starting it. r=jsmith 2013-08-06 22:13:37 -07:00
Shelly Lin
2fff235d13 Bug 899935 - Produce zero-length output if calling Stop right after a Start call of MediaRecorder. r=roc 2013-08-29 19:59:08 +08:00
Paul Adenot
08fd7cd240 Bug 881092 - Test that we can decode multichannel WAVE file only when using decodeAudioData. r=ehsan
--HG--
extra : rebase_source : fe1cb35be9a1197b01a6c90654abd825f28a67e5
2013-08-29 11:44:05 +02:00
Paul Adenot
bacec95428 Bug 881092 - Allow decoding files we know we can't play, in the context of WebAudio. r=kinetik,rillian
--HG--
extra : rebase_source : ebad931aede2f8225404625e90a5f3228c4a31c0
2013-08-29 11:43:44 +02:00
Eitan Isaacson
893bf495ea Bug 909240 - Add SpeechSynthesisUtterance to cycle collection. r=smaug 2013-08-29 14:24:53 +03:00
Rick Eyre
73c2f74ef5 Bug 868509 - Rename TextTrackCue to VTTCue r=rillian
This way we can ensure that JS code written for WebVTT is spec
compliant while at the same time not having to abstract VTTCue
from TextTrackCue.

--HG--
rename : dom/webidl/TextTrackCue.webidl => dom/webidl/VTTCue.webidl
2013-08-27 13:07:00 -07:00
Chris Pearce
cf122919c7 Bug 908862 - Strip ID3 tags before we expose MP3 data to DirectShow, to work around bugs in its MP3 decoder. r=padenot 2013-08-29 10:53:03 +12:00
Boris Zbarsky
51868f7e3f Bug 909645 part 3. Make including SpeechRecognition.h and MediaManager.h not pull ipdl headers. r=ms2ger 2013-08-28 00:14:57 -04:00
Ehsan Akhgari
c89889cb25 Bug 898967 - Remove the unused StreamBuffer::mForgottenUpTo member; r=roc
--HG--
extra : rebase_source : ef259872ebe3e49dad71a1ca28788c0e8a6ed05f
2013-08-28 10:14:01 -04:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Nicholas Nethercote
3e0ffbadf7 Bug 831193 (part 16) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in media/. r=kinetik.
--HG--
extra : rebase_source : 86c334ccef76af552b64317a08d1c4cb8c3804e3
2013-01-17 21:43:20 -08:00
Boris Zbarsky
a6ce34f2cf Back out revisions 042d50591265:69f4af72765c (bug 909645) due to Windows bustage causing a CLOSED TREE. 2013-08-28 01:46:00 -04:00
Boris Zbarsky
62940aeef6 Bug 909645 part 3. Make including SpeechRecognition.h and MediaManager.h not pull ipdl headers. r=ms2ger 2013-08-28 00:14:57 -04:00
Randell Jesup
2365ec9687 Bug 909946: missing %s in LOG statement for webrtc_trace logging r=abr 2013-08-27 17:30:10 -04:00
Karl Tomlinson
ab3357052a b=903270 remove default null initial event parameter from NS_NewNamedThread() call site r=doublec
--HG--
extra : transplant_source : b%B5%DF%BFTQ%DE%FE%DC%09l%21%ACzA%C7a%27%90%60
2013-08-27 12:39:24 +12:00
Ryan VanderMeulen
9fa9f53229 Merge inbound to m-c. 2013-08-26 20:19:26 -04:00
Sotaro Ikeda
92d4ca1287 Bug 905008 - Block bogus MetadataLoaded event. r=doublec 2013-08-26 12:11:58 -04:00
Paul Adenot
c8ef7c71b8 Bug 908144 - Don't output sound before start() is called when using OscilatorNode. r=ehsan 2013-08-26 11:46:33 +02:00
Wes Kocher
be6c9d6c51 Backed out 2 changesets (bug 909187)
Backed out changeset 79b1a4a62635 (bug 909187)
Backed out changeset 0601038e2a31 (bug 909187)
2013-08-26 02:29:55 -07:00
Randell Jesup
7762a0f6f0 Bug 909187: Part 2 - Allow DOM MediaStreams to intercept SetTrackEnabled calls r=roc 2013-08-26 02:07:19 -04:00
Randell Jesup
c0dd7b1862 Bug 909187: Part 1-Refactor MediaStreamTrack disabling so we can call it directly and access from other threads r=roc 2013-08-26 02:07:17 -04:00
Randell Jesup
58feac255e Bug 884365: Deliver gUM data directly to PeerConnection to avoid delay buildup and resampling r=roc 2013-08-24 09:53:11 -04:00
Randell Jesup
1d408c2924 Bug 884365: Add method to return the amount of buffered data on a SourceMediaStream r=roc 2013-08-24 09:53:01 -04:00
Gabriele Svelto
c8251ce6f3 Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Ms2ger
944d17423c Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Gabriele Svelto
1d1671942d Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan 2013-08-24 08:12:51 +02:00
Kyle Huey
de0ee30e74 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Ryan VanderMeulen
7726245c4e Merge inbound to m-c. 2013-08-22 15:42:18 -04:00
Ryan VanderMeulen
b6c2717f87 Bug 908306 - Disable more Web Audio crashtests on B2G due to frequent timeouts. 2013-08-22 14:04:41 -04:00
Nicholas Cameron
c9afa4094d Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
Ms2ger
87ae95251c Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
4922ccbc0a Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
2d7391b50d Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey 2013-08-22 08:55:59 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Eitan Isaacson
57f8a1270b Bug 858529 - Add nsISpeechTask.SendAudioNative. r=smaug 2013-08-21 12:39:27 -07:00
Ehsan Akhgari
1e7ca5d13f Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
Jason Smith
50688353a8 Bug 899878 - Mochitest for recording media with no timeslice for media recording API. r=roc 2013-08-20 23:40:29 -07:00
Trevor Saunders
6d4bc4993b bug 899210 - convert camera control to WebIDL r=bz 2013-07-06 16:55:10 -04:00
Randell Jesup
e95c682ba0 Bug 909187: Part 2 - Allow DOM MediaStreams to intercept SetTrackEnabled calls r=roc (reland) 2013-08-26 02:07:19 -04:00
Randell Jesup
31b3d54567 Bug 909187: Part 1-Refactor MediaStreamTrack disabling so we can call it directly and access from other threads r=roc (reland) 2013-08-26 02:07:17 -04:00
Wes Kocher
536fb11a9d Backed out changeset 315c9f0af9bb (bug 902929) 2013-08-20 20:50:20 -07:00
Nicholas Cameron
a6ed5e965c Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical 2013-08-21 13:28:53 +12:00
David Zbarsky
04ff4c97fa Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc 2013-08-20 15:45:30 -04:00
Eitan Isaacson
cdb342b201 Bug 906867 - Include speech synth ipdls regardless of it being enabled at build time. r=gps 2013-08-20 09:24:04 -07:00
Rick Eyre
2e34186e12 Bug 905320 - Add regression tests to make sure we don't leak again. r=khuey
Original test comes from bug 895305 which is a duplicate of 905320.
2013-08-15 18:30:13 -04:00
Rick Eyre
67da9a7c47 Bug 905320 - Fix TextTrack classes to utilize cycle collection correctly. r=khuey
We were incorrectly using the wrapper cache cycle collection macros when that
functionality was already implemented by the base classes. Therefore, we
should instead use the inherited version of the cycle collection macros.
2013-08-15 11:11:15 -04:00
Ralph Giles
437a387175 Bug 865253 - Part 5: Shorten a comment to fit in 80 columns. r=ehsan 2013-08-19 11:58:00 -07:00
Ralph Giles
fc6c1b487b Bug 865253 - Part 4: Stop OscillatorNodes on context shutdown. r=ehsan
Like AudioBufferSourceNode and ScriptProcessorNode, OscillatorNode
holds a self-reference in mPlaying. Keep track of all osc nodes
in the AudioContext and explicitly stop them to make sure this
reference is dropped.
2013-08-19 11:57:00 -07:00
Ralph Giles
5c102b5da6 Bug 865253 - Part 3: Direct generation of fixed oscillator types. r=ehsan
Simple direct calculation of the fixed types.

We probably want to use the PeriodicWave machinery to generate
the pre-defined waveforms once it's available. In either case
we can optimize this significantly by caching the generated
waveform when the frequency is stationary over the block.
2013-08-19 11:56:00 -07:00
Ehsan Akhgari
d4b3957aa8 Bug 865253 - Part 2: Implement the alternate enum values for OscillatorNode; r=roc 2013-08-19 11:54:00 -07:00
Ehsan Akhgari
d3e93cd446 Bug 865253 - Part 1: Implement the DOM bindings for OscillatorNode; r=roc 2013-08-19 11:53:00 -07:00
Ehsan Akhgari
e69e625575 Bug 905444 - Do not attempt that we can handle empty channels when mixing; r=roc 2013-08-16 10:42:50 -04:00
Chris Double
2c1fdb55d7 Bug 905070 - Fix uninitialized value use in HTML media element - r=kinetik 2013-08-16 21:57:17 +12:00
Ehsan Akhgari
f678926c6d Bug 905409 - Minimize the Web Audio #includes; r=roc 2013-08-15 15:44:14 -04:00
Ehsan Akhgari
3ec2c9b451 Bug 905353 - Minimize the #includes in dom/base; r=jst
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
L. David Baron
923438e3e3 Back out changeset 2454e6a5edbd (Bug 904926) on CLOSED TREE for lots of fatal assertions in Windows debug builds in MediaDecoder::IsDataCachedToEndOfResource. 2013-08-14 22:36:17 -07:00
Robert O'Callahan
3807c1b21e Bug 904926. Remove unnecessary lock. r=cpearce 2013-08-15 16:24:00 +12:00
Wes Kocher
ff5292b3eb Backed out changeset 016fa89e49b0 (bug 905409) on a CLOSED TREE 2013-08-14 17:21:45 -07:00
Ehsan Akhgari
c6ce65cf2e Bug 905409 - Minimize the Web Audio #includes; r=roc 2013-08-14 18:46:00 -04:00
Ryan VanderMeulen
8b8be2a46a Merge m-c to inbound. 2013-08-14 17:11:30 -04:00
Randell Jesup
3966b79145 Bug 905062: Clean up fake source for getUserMedia r=padenot 2013-08-14 17:01:16 -04:00
Carsten "Tomcat" Book
89b83199da merge mozilla-central to b2g-inbound 2013-08-14 15:02:24 +02:00
Ms2ger
df8525f77d Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Shelly Lin
d35691b860 Bug 903023 - memset with 0 if the buffer of audio chunk is null. r=roc 2013-08-14 11:04:52 +08:00
Shelly Lin
880433f3e1 Bug 897895 - Correct the pcm offset when encoding audio source with two channels. r=roc 2013-08-14 11:04:55 +08:00
JW Wang
b883640fbe Bug 882171 - Part 2: Call NEON implementation. r=ehsan, r=glandium 2013-08-13 17:30:18 +08:00
JW Wang
605cb449b1 Bug 882171 - Part 1: Add NEON implementation of AudioNodeEngine.cpp. r=roc, r=padenot, r=derf, r=glandium 2013-08-13 15:39:42 +08:00
Paul Adenot
e643bf2207 Bug 903476 - Fuzz a bit more and android as well.
--HG--
extra : rebase_source : 57d9a1ed3549a0c8a2af9fb8be42b5823f21a2ec
2013-08-13 15:56:42 +02:00
Paul Adenot
0b00e4ef84 Bug 903476 - Fuzz a bit more on win32.
--HG--
extra : rebase_source : 321848369a2f2401b1fcaf287bfbcd049a7c299c
2013-08-13 14:48:36 +02:00
Paul Adenot
66239a7ec2 Bug 903476 - Update the fuzzing values in test_mediaDecoding.html because we changed the resampler. r=ehsan
--HG--
extra : rebase_source : 3b354018ba83f53cf64d6adb511c41dfcb205039
2013-08-13 12:44:34 +02:00
Chris Pearce
74b090b494 Bug 861693 - Makefile and moz.build changes required for DirectShow audio backend. r=gps 2013-08-13 16:49:25 +12:00
Chris Pearce
b6744d88a6 Bug 861693 - DirectShow MP3 decoder HTML5 audio backend for Windows. r=padenot 2013-08-13 16:49:25 +12:00
Karl Tomlinson
b6833fc832 b=815643 Implement HRTF panner processing based on Blink implementation r=ehsan
--HG--
extra : rebase_source : 197fd6f39d3d45b61d25d9dc399c72828d93655a
2013-08-09 10:08:06 +12:00
Karl Tomlinson
5d662c0df1 b=815643 Add Blink's HRTFPanner to the build r=ehsan
--HG--
extra : rebase_source : 14187eb58d308c25b3ff37356a1aef6757aee81d
2013-08-09 10:07:49 +12:00
Karl Tomlinson
e37987a35d b=815643 Refactor DelayNodeEngine delay processing into a shareable class r=ehsan
--HG--
extra : rebase_source : e25ff3e490c2cbce5ed7cdf9419ccc2850ea16e5
2013-08-09 10:07:49 +12:00
Karl Tomlinson
afd43adcd6 b=865241 don't join HRTFDatabaseLoader thread until it has finished r=ehsan
Also turn some always-true conditions into assertions.

--HG--
extra : rebase_source : a38b75a1a27f25cef7b9dd86a1cca15ce9f67893
2013-08-09 10:07:42 +12:00