Граф коммитов

3482 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot 978e927a0e Bug 949474 - Reflect the fact that the nominal range for the sampleRate argument of the AudioContext.createBuffer changed in the spec. r=ehsan 2013-12-12 16:05:31 +01:00
Paul Adenot 371ad746eb Bug 916384 - Stop calling onaudioprocess on the ScriptProcessorNode it has no inputs or outputs. r=roc
Quoting the spec: "audioprocess events are only dispatched if the
ScriptProcessorNode has at least one input or one output connected".

--HG--
extra : rebase_source : bbf52a183a55b75d394a885624a4080a9467fac4
2013-12-12 15:31:51 +01:00
Paul Adenot 2d7afabc14 Bug 944707 - Stop locking when getting the preferred samplerate from the AudioStream. r=kinetik
--HG--
extra : rebase_source : bbf7b305d13f252e7c743bb9abf12da078db865b
2013-12-09 20:54:49 +01:00
Jacek Caban be149faf27 Bug 930833 - Add missing extern "C" for mingw compilation
--HG--
extra : rebase_source : 54b23b82b4cab3d4fba31e289c69f03f00ec6f5f
2013-12-02 12:13:43 +01:00
Jacek Caban 096ae9f20f Bug 944900 - Fix content/media/fmp4 compilation on mingw. r=cpearce
--HG--
extra : rebase_source : 3e1bd0401c7768b97dc22bddb7c76cc8ba832675
2013-12-02 12:12:35 +01:00
Randy Lin 88a764f27c Bug 935774 - "Assertion failure: meta" in mozilla::MediaEncoder::GetEncodedData. r=roc 2013-11-25 12:57:52 +13:00
Ehsan Akhgari 869d0af69a Bug 942489 - Deunify more files that are caught by bug 941854; r=BenWa 2013-11-24 01:29:24 -05:00
Chris Pearce e5d4d1a301 Bug 941857 - Only build WMFPlatofrmDecoderModule when MOZ_WMF is defined. r=kinetik
--HG--
extra : rebase_source : a9a8741540560d7591261f2a68dd68fce956e6f5
2013-11-22 10:36:02 -05:00
Gian-Carlo Pascutto 7a76409d70 Bug 946865 - Move Load Adaption preference to the main thread. r=jesup 2013-12-06 20:34:40 +01:00
Masatoshi Kimura ed579a7fd3 Bug 925599 - Replace WinUtils::GetWindowsVersion() and GetWindowsServicePackVersion(). r=jimm 2013-11-22 12:35:42 +09:00
Masatoshi Kimura 76985474ec Bug 941931 - Add <algorithm> for VC12 to use std::min. r=cpearce 2013-11-22 12:35:39 +09:00
Sotaro Ikeda a093031260 Bug 939654 - Remove unnecessary wait from instantiating MediaResourceManagerService. r=mwu 2013-11-21 16:03:27 -05:00
Ryan VanderMeulen aff6efccdc Merge m-c to inbound. 2013-11-21 11:37:10 -05:00
Ryan VanderMeulen d182130924 Backed out changesets efb217f1897a and c9a22296f311 (bug 935774) due to test_mediarecorder_record_4ch_audiocontext.html perma-fail on all platforms after today's inbound merge. 2013-11-21 11:28:06 -05:00
Carsten "Tomcat" Book b696d7931d merge mozilla-inbound to mozilla-central 2013-11-21 14:20:21 +01:00
Vincent Chang 9c630de12f Bug 898864 - RTSP content process crash when press the play button at the end of video. r=sworkman 2013-11-20 11:08:10 +08:00
Ehsan Akhgari 9f2fd74bea Bug 939582 - Part 2: Build content/media in unified mode; r=doublec 2013-11-20 21:12:13 -05:00
Ehsan Akhgari 0dbeb42c94 Bug 939582 - Part 1: Rework the NSPR logging in content/media to use different macro names for different logs; r=doublec 2013-11-20 22:02:42 -05:00
Ehsan Akhgari 5824edc1b5 Backed out 2 changesets (bug 939582) because of build bustage
Backed out changeset 2079c828645a (bug 939582)
Backed out changeset af472e590088 (bug 939582)
2013-11-20 21:41:40 -05:00
Ehsan Akhgari 8504e291bb Bug 939582 - Part 2: Build content/media in unified mode; r=doublec 2013-11-20 21:12:13 -05:00
Ehsan Akhgari 67f44f11ac Bug 939582 - Part 1: Rework the NSPR logging in content/media to use different macro names for different logs; r=doublec 2013-11-20 21:11:54 -05:00
Ralph Giles dfc9793731 Bug 941281 - Release resampler in OpusTrackEncoder dtor. r=roc
We released the resampler when we reached the end of the stream
but would leak if the encoder was destroyed while data was still
available.
2013-11-21 11:09:08 +13:00
Randy Lin 5243b2c0a5 Bug 935774 - Test for record four audio channels audiocontext. r=jsmith 2013-11-20 17:32:22 +08:00
Randy Lin 9daa8bbcce Bug 935774 - Assertion failure: meta in mozilla::MediaEncoder::GetEncodedData. r=roc 2013-11-20 17:14:13 +08:00
Chris Pearce 7125ddf4eb Bug 886196 - Create a PlatformDecoderModule that outputs blank frames for fuzzing/testing purposes. r=kinetik 2013-11-21 10:04:33 +13:00
Chris Pearce a8eb2ad7b9 Bug 886196 - Implement WMF platform decoder for FMP4 demuxer. r=padenot 2013-11-21 10:04:33 +13:00
Chris Pearce 2547f6703f Bug 886196 - Add pref to enable creation of fmp4 reader in DecoderTraits. Preffed of by default. r=kinetik 2013-11-21 10:04:33 +13:00
Chris Pearce b88e7b5029 Bug 886196 - MP4 demuxing using Chromium's MP4 demuxer. No decoding yet. r=kinetik 2013-11-21 10:04:33 +13:00
Chris Pearce 9772f912c9 Bug 886196 - Import Chromium's MSE MP4 demuxer code. r=kinetik 2013-11-21 10:04:32 +13:00
Ehsan Akhgari 1a8e3f714a Bug 939571 - Build Web Audio in unified mode; r=glandium 2013-11-19 14:11:16 -05:00
Ryan VanderMeulen 554a83ef67 Merge m-c to inbound.
--HG--
rename : dom/contacts/tests/test_contacts_upgrade.html => dom/contacts/tests/test_contacts_upgrade.xul
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 13:54:20 -05:00
Ryan VanderMeulen d54f78e830 Merge b2g-inbound to m-c. 2013-11-19 13:36:41 -05:00
Matthew Gregan 88bb7f29c1 Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout. r=cpearce 2013-11-18 17:22:47 +13:00
Boris Zbarsky 299e9bc2b3 Bug 941437 part 2. Remove the unused cx argument from UNWRAP_OBJECT and UNWRAP_WORKER_OBJECT. r=smaug 2013-11-21 07:51:16 -05:00
Sotaro Ikeda 180f40ec5d Bug 935118 - Allow buffering to be triggered when we're low on decoded audio or video. r=roc 2013-11-19 09:01:14 -05:00
Mike Hommey 2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey dda5b915fe Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps 2013-11-19 11:47:28 +09:00
Mike Hommey ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Ehsan Akhgari 6978af8a0c Bug 939924 - Fix build error: KS.H must be included before codecapi.H in WMF.h. r=cpearce 2013-11-18 15:47:38 -05:00
Chris Double 6c15e6aa6e Bug 874897 - Mochitest for copying of frames of videos with aspect ratio to canvas - r=kinetik
--HG--
extra : rebase_source : c5ff10d61a1ea46b0fdb2a43e926405660493912
2013-11-18 18:26:51 +13:00
Ed Morley 9a0878501e Merge latest green b2g-inbound changeset and mozilla-central 2013-11-18 10:54:01 +00:00
Vincent Chang 7733fae85f Bug 921963 - [RTSP] Support RTSP in Android JB build. r=sworkman 2013-11-13 16:03:26 +08:00
ISHIKAWA, Chiaki cce2a17b1d Bug 938693 - Check the return value of PR_Close() in ~FileBlockCache() and issue a message if it fails. r=cpearce 2013-11-15 21:46:40 -05:00
Matthew Gregan 4436a9d702 Bug 939613 - Remove MediaSource integration from HTMLMediaElement now and use the generic MediaDecoder interface, then move the necessary MS-specific bits to the MS decoder. r=doublec 2013-10-05 10:04:39 +02:00
Matthew Gregan b3547c111f Bug 939612 - Improve readability of MediaSource::SetReadyState. r=doublec 2013-10-05 10:03:50 +02:00
Ehsan Akhgari 0c8d87283b Bug 939584 - Build some of the directories under content/media in unified mode; r=roc 2013-11-17 21:31:46 -05:00
Ehsan Akhgari a43a5b1a27 Bug 939569 - Part 1: Stop using #pragma once in webspeech code; r=smaug 2013-11-17 19:48:02 -05:00
Matthew Gregan df9c95b4af Bug 939601 - Refactor current thread assert into helper. r=cpearce 2013-11-04 11:11:09 +13:00
Chris Pearce 244265c8f6 Bug 871804 - Clarify HTMLMediaElement.canPlayType() codecs for MPEG on Windows. r=kinetik 2013-11-18 11:29:55 +13:00
Chris Double 9e246ccf6b Bug 939716 - Destructor for MediaStreamGraph should be virtual - r=roc
The destructor for MediaStreamGraph is non-virtual but it has a
derived class, MediaStreamGraphImpl, that overrides the destructor.
This destructor won't be called if an instance is deleted using a
pointer type of MediaStreamGraph.

It's unclear whether this actually happens but MediaStreamGraph.cpp
has code that creates a MediaStreamGraphImpl and returns it as a
MediaStreamGraph.

--HG--
extra : rebase_source : 9d006e5bf9bb056b5a54fc7aec159c26376c1459
2013-11-19 02:09:47 +13:00
Chris Double 6a658de601 Bug 939655 - Remove LOG macro definition from MediaStreamGraphImpl.h - r=roc
Removing this reduces opportunity for macro name clashes and using
the wrong log object if this header file is included out of order
in a .cpp file.

--HG--
rename : browser/themes/linux/Toolbar-inverted.png => browser/themes/windows/Toolbar-inverted.png
extra : rebase_source : 053384512e0f3a70d07ebe9ca0a07dc0f39d9b5b
2013-11-19 00:48:04 +13:00
Phil Ringnalda 9958c63251 Back out 4fd2bf2ec8db (bug 939662) for Windows build bustage
CLOSED TREE
2013-11-18 21:34:48 -08:00
Matthew Gregan bae6b8b955 Bug 939662 - Remove "using namespace mozilla::dom;" from MediaDecoder.h and fix fallout. r=cpearce
--HG--
extra : rebase_source : 922db8de8e9103e3001c26f23ed7402efa8237f5
2013-11-18 17:22:47 +13:00
Paul Adenot 7f90ed61c6 Bug 919215 - Start the AudioStream on creation when in low-latency mode, and let it underrun. r=roc
The BufferedAudioStream buffers the data it gets through the Write() calls and
what is consumed by the callback. This means that if the audio producer starts
Write()ing data right after Start()ing the stream, data will accumulate in this
buffer and won't be consumed. Eventually, the buffer will be of a certain size
before it begins to be consumed by the callback, and this means an
umcompressible latency (because the data will be written at more or less the
same rate as it is produced).

This patch start the BufferedAudioStream right away when it is created, dropping
the silent AudioSegment until it finds real data (and padding with silence is
then done at the beginning). The stream will underrun, but the callback will
synthetize silence, avoiding overbuffering in the BufferedAudioStream. This
ensures minimal latency cause by the buffering.

Note that the clock will still advance, so this will not change the behavior of
content that has leading silence.
2013-11-19 10:43:15 +13:00
Ed Morley 98da2c262b Merge mozilla-central and b2g-inbound 2013-11-12 15:11:34 +00:00
Mike Hommey 09b5ae9027 Bug 935857 - Replace MOZ_RTSP with proper NECKO_PROTOCOL handling. r=gps,r=vchang 2013-11-12 07:52:33 +09:00
Ryan VanderMeulen 13a4ea2031 Merge m-c to inbound. 2013-11-11 15:55:25 -05:00
Ryan VanderMeulen fe8d4ad520 Backed out changeset 0595650a11bd (bug 934440) for bustage. 2013-11-11 09:49:46 -05:00
Birunthan Mohanathas 02a1314689 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-11 14:17:14 -05:00
Carsten "Tomcat" Book efe5369770 merge fx-team to mozilla-central 2013-11-11 12:32:39 +01:00
Ms2ger 0fdc697b63 No bug - Fix some style issues in DOM code. 2013-11-11 09:04:41 +01:00
Ms2ger b63b756490 Bug 931404 - Move LOCAL_INCLUDES to moz.build in content/; r=gps 2013-11-11 09:04:06 +01:00
Ms2ger 63ae23599e Bug 928741 - Stop using PR_STATIC_ASSERT in content; r=jst 2013-11-11 09:03:59 +01:00
Brad Lassey 84e619e443 bug 936549 - Tab sharing capture device won't stream, use FormatStrideForWidth in tab stream r=jesup 2013-11-08 13:26:20 -05:00
Matthew Gregan 2b9e4e9e32 Bug 935343 - Convert content/media/tests to manifest format. r=doublec 2013-11-06 15:49:44 +13:00
Carsten "Tomcat" Book 021c6d3068 Merge mozilla-central to b2g-inbound 2013-11-08 15:29:28 +01:00
Sotaro Ikeda a65953798c Bug 929005 - Change from android::Vector to android::List. r=doublec 2013-11-08 09:09:46 -05:00
Gian-Carlo Pascutto 1dd76e0099 Bug 932112: Don't free the global, shared Context ref. r=blassey 2013-11-07 20:07:48 -05:00
Randell Jesup 53daa692c8 Bug 932112: Rollup of changes previously applied to media/webrtc/trunk/webrtc rs=jesup
* * *
* * *
Add AndroidAudioManager to the moz.build files.
2013-11-07 20:07:47 -05:00
Karl Tomlinson 16c0538632 b=931311 wait for HRTF panner to load impulse database before doing test
--HG--
extra : transplant_source : %2A%1F%D0kKSr%AA%8F%C1%26%E5%E6%EC%D5%CF%8C%A9%D11
2013-11-09 14:07:50 +13:00
Karl Tomlinson 5067764d69 b=936317 prevent MediaBufferDecoder threads from waiting after AudioContext shutdown() r=ehsan
--HG--
extra : transplant_source : %CE%E5O%83N%8FX%ED%2Ck%17I%B1%92%B6%A0lXH%D1
2013-11-09 14:07:45 +13:00
Karl Tomlinson 59651bdb5d crashtest for bug 933156
--HG--
extra : transplant_source : %9D/%19%13%80%D3cY%5D%93%FA%17%FB%CFTO%5Ex%82%C9
2013-11-08 12:04:54 +13:00
Matthew Gregan 1e768cc317 Bug 935349 - Remove remaining disabled DASH code. r=doublec 2013-11-07 17:08:42 +13:00
Matthew Gregan 5ccd288bd0 Bug 935349 - Remove disabled DASH code. r=doublec 2013-11-07 17:08:30 +13:00
Nicholas Nethercote 3eae0dfea5 Bug 934321 - Add MemoryMultiReporter, a helper class that reduces some boilerplate, and convert all existing multi-reporters to use it. r=wchen.
--HG--
extra : rebase_source : a6110c3558c571b7908b63e8cc7ca21103098d0d
2013-11-06 14:58:20 +11:00
Ryan VanderMeulen 7a2924f392 Merge inbound to m-c. 2013-11-05 15:28:52 -05:00
Carsten "Tomcat" Book 1d334f5365 merge mozilla-central to b2g-inbound 2013-11-05 15:55:09 +01:00
Wes Kocher ce4f00fcbd Merge m-c to inbound 2013-11-04 21:22:23 -08:00
Wes Kocher e400a12724 Merge inbound to m-c 2013-11-04 21:09:17 -08:00
Matthew Gregan 6261d5d600 Bug 848812 - Remove incorrect on-thread assertion from StopPlayback. r=cpearce 2013-11-05 17:12:01 +13:00
Matthew Gregan af69e1fc6d Bug 934820 - Remove LoadedEvent from MediaResource.cpp since it's almost identical to DataEnded. r=cpearce 2013-11-05 16:19:50 +13:00
Karl Tomlinson a5f7733394 Bug 933156 - Don't send null input to EqualPowerPanningFunction. r=roc 2013-11-04 14:22:37 -05:00
Jesse Ruderman a5817ca003 crashtest for bug 933151
--HG--
extra : transplant_source : %E5%D0%FB%18H%E3%7Dl%C8o%10m%BD%B6%E1%A0v8%12%AE
2013-11-05 13:02:55 +13:00
Karl Tomlinson 05d62a8b18 b=856850 use PodMove for potentially overlapping buffers r=roc
--HG--
extra : transplant_source : %A2%F8%85%0C%08%86%CE%E2%7F%A7X%9F%F1%B7%0E%3F%16%1E%BF%3F
2013-11-05 13:02:55 +13:00
CJKu b38db01a4b Bug 924724 - Shutdown hang in Media Encoder when running state machine mochitest in bug 920595. r=roc 2013-11-04 17:27:39 -05:00
Jason Smith 4ad5944819 Bug 920595 - Mochitest for verifying state transitions in Media Recording API. r=roc 2013-10-08 13:15:09 -07:00
Steve Singer 3644edc85d Bug 885002 - Fix casting on 64 bit Big Endian platforms. r=cpearce 2013-11-05 07:45:00 -05:00
Phil Ringnalda a04684be3e Merge m-c to m-i 2013-11-03 16:38:02 -08:00
Phil Ringnalda 2a1cf3104a No bug (or rather, too many), disable test_playback_rate.html for constant timeouts and crashes in random locations across every platform it ever gets enabled on 2013-11-03 16:35:21 -08:00
Chris Pearce a4d939b3c4 Bug 933579 - Export IsVideoContentType() to VideoUtils, so that it can be used elsewhere, and move all of VideoUtils into namespace mozilla. r=kinetik 2013-11-04 11:45:19 +13:00
Matthew Gregan 67977cfe57 Bug 933552 - Enable audio/mpeg MIME type in MediaSource. r=doublec 2013-11-01 14:07:22 +13:00
Bruce Sun 101ba61301 Bug 933091 - Re-enable MP3FrameParser to parse MP3 duration. r=sotaro, r=doublec 2013-11-01 11:02:53 +08:00
Ryan VanderMeulen 1d57260a86 Merge m-c to inbound on a CLOSED TREE. 2013-10-30 22:42:13 -04:00
Sotaro Ikeda 723dc24f51 Bug 932076 - Add check for MediaExtractor creation failure. r=doublec 2013-10-30 15:41:07 -04:00
Gian-Carlo Pascutto cef96a16b8 Bug 902000 - Make the load adaption depend on a pref. r=jesup 2013-10-29 15:00:28 +01:00
Gian-Carlo Pascutto f58a807d09 Bug 902000 - Add a service that monitors the system load. r=jesup 2013-10-29 15:00:20 +01:00
Andrew Quartey 369e56577c Bug 893880 - Check TextTrackCueList before trying to update its cues. r=rillian 2013-10-28 22:18:35 -04:00
Andrea Marchesini 8e89b14fa1 Bug 925594 - WebIDL enum for AudioChannel in HTMLMediaElement, r=ehsan, r=khuey 2013-10-28 17:08:14 -07:00
Ed Morley e41de6bffe Merge mozilla-central and inbound 2013-10-28 18:36:22 +00:00
Ed Morley eb481bc9e5 Bug 751539 - Disable test_played.html again because surprise surprise it is still failing 2013-10-28 17:45:33 +00:00
Carsten "Tomcat" Book d00bdf2431 Backed out changeset 5506e7033c85 (bug 925594) perma-orange mochitest test-failure on b2g-ics
--HG--
extra : transplant_source : %19E%9F_%BF%84%27%11%0D%DE%CA.%E7%09%9D%FD3%1A2U
2013-10-28 15:34:08 +01:00
Andrea Marchesini 028b3d33fb Bug 925594 - WebIDL enum for AudioChannel in HTMLMediaElement, r=ehsan, r=khuey 2013-10-28 03:45:10 -07:00
Andrew Quartey 6070d164e6 Bug 931453 - Ensure TextTrack's media element reference is not null. r=khuey 2013-10-28 12:32:51 -04:00
Carsten "Tomcat" Book beb74c06a8 Backed out changeset 5506e7033c85 (bug 925594) perma-orange mochitest test-failure on b2g-ics 2013-10-28 15:34:08 +01:00
Bill Gianopoulos 680e43e635 Bug 931428 - Include NullPtr.h in GStreamerLoader.cpp; r=ehsan 2013-10-26 20:42:34 -04:00
Phil Ringnalda 780e2a2c5f Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky 4c129e947e Bug 929513 Part 3: Use some LayerIntSize in gfx/layers r=nical 2013-10-27 17:53:27 -04:00
David Zbarsky b3c48c54a3 Bug 929513 Part 1: Use gfx::IntSize for image layer sizes r=nical 2013-10-27 17:53:26 -04:00
Randy Lin cee0aa777b Bug 919905 - Media Recording - Refactor encoder architecture to support the video encoder module. r=roc, r=cjku 2013-10-25 10:59:52 +08:00
Chris Pearce 9ebe1aeab0 Bug 930833 - Extract more WMF utility functions to WMFUtils.h/cpp. r=padenot 2013-10-26 15:23:37 +13:00
Randell Jesup 25107fe5c3 Bug 920325: Add WebRTC latency logging from capture to RTP and from RTP to speakers r=padenot 2013-10-25 18:13:42 -04:00
Randell Jesup 6540e33b98 backout 5f38b1bd3358 for bustage CLOSED TREE 2013-10-25 19:25:54 -04:00
Randell Jesup f299c1fdbc Bug 920325: Add WebRTC latency logging from capture to RTP and from RTP to speakers r=padenot 2013-10-25 18:13:42 -04:00
Cykesiopka d2f6b7333c Bug 914270 - Part 1: Simple/Automated moves. r=joey 2013-10-24 18:51:00 +01:00
Andrew Quartey 2d494bdb0f Bug 882665 - Part b: Add list of pending text tracks to TextTrackManager. r=rillian, khuey 2013-10-25 00:14:36 -04:00
Andrew Quartey bccdc26ea8 Bug 882665 - Part a: Add readiness state attribute to text track. r= rillian, khuey 2013-10-25 00:14:36 -04:00
Chris Pearce 1041c1b5d2 Bug 930829 - Add MediaData class as base for VideoData and AudioData to simplify writing a generic stream decoder. r=kinetik 2013-10-25 15:44:58 +13:00
Karl Tomlinson 2b3444a66e b=898291 skip HRTF panner processing when input has been null long enough for output to be null r=ehsan
--HG--
extra : transplant_source : %E4l%83zo%0E%08%14%FF%F7%9D%D6%8C%FD%A2%07a%2A%8Aq
2013-10-25 14:05:43 +13:00
Karl Tomlinson 3e9fb0ce4d b=898291 remove unused PannerNodeEngine model type variables r=ehsan
--HG--
extra : transplant_source : %0F%F0%EB%AF%17%B6%B6%CEI0%857%D8%09%C4%D1%0D%C2.l
2013-10-25 14:05:43 +13:00
Karl Tomlinson bc9f136d2d b=898291 erase azimuth/elevation history when reset()ing HRTFPanner r=ehsan
so that old cross-fade info does not distort new sound when a PannerNode
finishes and restarts.

--HG--
extra : transplant_source : I%A9%DAx%9F%AE%B8%88%90FN%3B%3E%FC%FE%827%CB%10%8C
2013-10-25 14:05:42 +13:00
Karl Tomlinson b74d3ed9ec mochitest for bug 898291
--HG--
extra : transplant_source : %1F%18%3A%91%21%06%B6%C47%7Ck%83%C7%C8yo%2A%22%A5%02
2013-10-25 14:05:42 +13:00
Karl Tomlinson 4503f80c5a b=924288 continue producing BiquadFilter sound output after input becomes null r=ehsan
--HG--
extra : transplant_source : %A6%DDf%09%98C%C0%E6%AEy%F8%F6%FF%7E/f%D7%12Ub
2013-10-25 14:05:42 +13:00
Jesse Ruderman b62a861daa crashtest for bug 926619
--HG--
extra : transplant_source : %1CQ%E6%B7%A6%DB%98%BF%F3Vlc%F1%93Xe%9D8%BAm
2013-10-25 14:05:42 +13:00
Karl Tomlinson 415dad9438 b=926619 check for non-AudioNodeStreams in MediaStream cycles r=padenot
--HG--
extra : transplant_source : %2B%F4%EEG%BD%17%2A/%B7%80%F6%22%04%9F%F4E%1FD%F0%A5
2013-10-25 14:05:41 +13:00
Karl Tomlinson 1e1ae1b30b b=923301 use MediaStreamGraph to dispatch the other PlayingRefChangeHandlers too r=trivial
--HG--
extra : transplant_source : %A6%9F%81%40%AF%EE_EU%03%BCvZ%0B%1CE%7F%8C%80F
2013-10-25 14:05:41 +13:00
Mike Hommey b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Karl Tomlinson 7d5f234734 b=923301 use MediaStreamGraph to dispatch PlayingRefChangeHandlers r=roc
This reduces the number of events dispatched to the main thread
and ensures these run in order with other pending updates.

--HG--
extra : transplant_source : %5E%235%DEz%EB%7D%C6%C7%F8%AF%A3%84%1F%F9%5B%87D%B3%13
2013-10-25 12:12:33 +13:00
Karl Tomlinson 7fd355fc05 b=923301 skip reverb processing when input has been null long enough for output to be null r=roc
--HG--
extra : transplant_source : t%F4Fi%7C%FE%A0l%7B%8FT%9D%F8%F8A%15%93%2A%5Bw
2013-10-25 12:12:13 +13:00
Karl Tomlinson dade295bc2 b=923301 skip delay processing when nothing is buffered and input is null r=roc
--HG--
extra : transplant_source : %60%1B%88Z%BD%9AoAI%92%FA%B1%E4%A1%EFg%2A%FE%05%8F
2013-10-25 12:12:13 +13:00
Karl Tomlinson c087522703 b=923301 send only one release message when convolver tail time expires r=roc
--HG--
extra : transplant_source : p%B7dN%D9%A7%DB%F3%FB%A9a%85%BC%2BH%A4uW%A4%84
2013-10-25 12:12:13 +13:00
Karl Tomlinson a9d4f15ee6 b=923301 send only one release message when delay buffer is drained r=roc
--HG--
extra : transplant_source : %C7%8Ag%B2%C52X%A2%96%D1%8E%BB%15%E4%15%CC%1D%1Er%B8
2013-10-25 12:12:13 +13:00
Karl Tomlinson 748b20e3a4 b=923301 remove now-unnecessary node-type templating of PlayingRefChangeHandler r=roc
--HG--
extra : transplant_source : %0A%BA%C9%1D%1AX%0Dxg9%3BL%1F%98%BE%98%87%20o%3A
2013-10-25 12:12:12 +13:00
Karl Tomlinson 5e0ead518c b=923301 remove now-unused GetCurrentGraphUpdateIndex() and rename mGraphUpdatesSent to mNextGraphUpdateIndex r=roc
--HG--
extra : transplant_source : %B6%E8%FF%F8%CA%CCWo%D0%82s%FC%92C%F5L%D9%3D%81%88
2013-10-25 12:12:00 +13:00
Karl Tomlinson c9bdef52d5 b=923301 remove now-unnecessary AcceptPlayingRefRelease r=roc
--HG--
extra : transplant_source : %7B%21%18%B17%16%7B%9E%9F%B3%23%17%FD%3DZ%FC%5C%0F%D3%8C
2013-10-25 12:11:24 +13:00
Karl Tomlinson 1c5f0e79ec b=923301 keep a tail-time reference on DelayNode until *after* the last non-silent block has been produced r=roc
This gives a downstream node a chance to take a tail-time reference when it
receives the last non-silent block from the DelayNode.

--HG--
extra : transplant_source : %B5%7C%E1%F6%00%D4W%D6%A22%0C%F2%0A%2C%60%F2%18%C6%A5%B8
2013-10-25 12:11:24 +13:00
Karl Tomlinson 55b7a4274f b=923301 keep disconnected destination nodes alive long enough for their engines to add tail-time references if necessary r=roc
--HG--
extra : transplant_source : %24%5D%7B%3F%7E%87%20%FF%20%09%CE%AD%91%F8%7C%E7%E1%DB%3D%83
2013-10-25 12:11:01 +13:00
Karl Tomlinson d0796ca005 b=923301 add MediaStreamGraph::RunAfterPendingUpdates() r=roc
--HG--
extra : transplant_source : %89%21%AE%87%C7%9C%07%28%3D%60T%83%16n%DC%C9O%87iy
2013-10-25 12:07:29 +13:00
Chris Pearce 34d75311ee Bug 930372 - Use WMF instead of DirectShow for MP3 decoding on Vista and later, to avoid regressing duration calculation. r=padenot 2013-10-25 09:43:17 +13:00
Trevor Saunders f1399b6633 [PATCH] bug 922566 - kill dom-config.mk
From 6681eaa8bb47ddb4756fd71738771c4c437101c0 Mon Sep 17 00:00:00 2001
---
 content/media/webspeech/recognition/Makefile.in |  1 -
 content/media/webspeech/recognition/moz.build   |  5 +-
 content/media/webspeech/synth/Makefile.in       |  1 -
 content/media/webspeech/synth/pico/Makefile.in  |  3 --
 dom/alarm/Makefile.in                           |  2 -
 dom/apps/src/Makefile.in                        |  1 -
 dom/base/Makefile.in                            |  2 -
 dom/base/moz.build                              | 26 ++++++++++-
 dom/battery/Makefile.in                         |  1 -
 dom/bindings/Makefile.in                        |  3 --
 dom/bindings/moz.build                          | 17 ++++++-
 dom/bindings/test/Makefile.in                   |  5 +-
 dom/bluetooth/Makefile.in                       |  2 -
 dom/bluetooth/moz.build                         |  7 ++-
 dom/browser-element/Makefile.in                 |  3 --
 dom/browser-element/moz.build                   |  6 ++-
 dom/camera/Makefile.in                          |  1 -
 dom/camera/moz.build                            |  5 +-
 dom/devicestorage/Makefile.in                   |  1 -
 dom/dom-config.mk                               | 61 -------------------------
 dom/encoding/Makefile.in                        |  1 -
 dom/fmradio/Makefile.in                         |  2 -
 dom/fmradio/ipc/Makefile.in                     |  1 -
 dom/fmradio/ipc/moz.build                       |  5 +-
 dom/fmradio/moz.build                           |  5 +-
 dom/icc/src/Makefile.in                         |  4 --
 dom/media/Makefile.in                           |  3 --
 dom/media/moz.build                             |  6 ++-
 dom/mobilemessage/src/Makefile.in               |  1 -
 dom/mobilemessage/src/moz.build                 |  5 +-
 dom/network/src/Makefile.in                     |  2 -
 dom/plugins/base/Makefile.in                    |  1 -
 dom/plugins/base/moz.build                      |  8 +++-
 dom/power/Makefile.in                           |  1 -
 dom/quota/Makefile.in                           |  1 -
 dom/system/gonk/Makefile.in                     |  2 -
 dom/telephony/Makefile.in                       |  1 -
 dom/time/Makefile.in                            |  1 -
 dom/wifi/Makefile.in                            |  5 --
 39 files changed, 85 insertions(+), 123 deletions(-)
 delete mode 100644 dom/dom-config.mk
 delete mode 100644 dom/wifi/Makefile.in
2013-10-23 17:20:55 -04:00
Randy Lin 3d18e821d0 Bug 936352 - Media Recording - Fix wrong pointer usage in encoder module from Bug 919905. r=roc 2013-11-10 06:30:01 +08:00
Peiyong Lin 61009e88db Bug 934440 - Statically assert that MEDIA_STREAM_DEST_TRACK_ID is different than AUDIO_TRACK. r=jdm 2013-11-11 09:11:42 -05:00
Peiyong Lin b7f5656542 Bug 934440 - Statically assert that MEDIA_STREAM_DEST_TRACK_ID is different than AUDIO_TRACK. r=jdm 2013-11-12 08:37:17 -05:00
Wes Kocher 111b82b754 Merge inbound to m-c 2013-11-11 15:51:01 -08:00
Daniel Holbert d7fc946ac2 Bug 930532: Adjust '#if defined(MOZ_CUBEB)' checks to include cubeb-only static functions in AudioStream.cpp, to fix build warnings in non-cubeb builds. r=padenot 2013-10-24 17:26:19 +02:00
Brian O'Keefe 9c9d71fddb Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey 59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey 3fa7456cd6 Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Birunthan Mohanathas a058382a85 Bug 784739 - Switch from NULL to nullptr in content/; r=ehsan
--HG--
extra : rebase_source : 9237726507e8002479616a98a82646a763932507
2013-10-23 16:34:10 -04:00
Karl Tomlinson 52b6e813b1 b=928222 move ReentrantMonitorAutoExit from VideoUtils.h to ReentrantMonitor.h r=bsmedberg
--HG--
extra : transplant_source : %13O%CF%90x%02%B8%B6%A3%EA%AD%03%99%9A7%1B%A0%21%C4%A3
2013-10-24 07:22:53 +13:00
Karl Tomlinson e4e70cf83e b=914016 always dispatch main thread updates after non-realtime graph finishes r=padenot
--HG--
extra : transplant_source : %0B%0C%93%05k%3F%3A%AEfT9%C9u%8D%C5pa%9F%11%0D
2013-10-24 07:21:33 +13:00
Karl Tomlinson 29f8ad0439 b=925619 simplify loop sanity checks r=ehsan
The removed condition is always satisfied when mLoopEnd > 0.0

--HG--
extra : transplant_source : 4%9F%7C%92%F7-f%05%F96%0F%7C.%AF%8CE%82F%D3%A0
2013-10-23 18:40:11 +13:00
Karl Tomlinson c05507569d b=925619 truncate TrackTicks differences to uint32_t after limiting to WEBAUDIO_BLOCK_SIZE r=ehsan
--HG--
extra : transplant_source : %F6%8B%89C%60%02Hm%11%9FZ%F7I%2BJ%CF%23%8E%CE%D3
2013-10-23 18:36:59 +13:00
Rick Eyre 1abc297cc7 Bug 865407 - Part 2: Change TextTrackList::RemoveTextTrack() to receive a pointer r=rillian
The only code using this is TextTrackManager::RemoveTextTrack() which
receives a non-const pointer.
2013-10-21 07:15:00 -07:00
Daniel Holbert c1131679b6 Bug 928547: Change AudioStream cubeb-dependent logic to handle success cases first, so we can add #ifdef that ends in failure case. r=padenot 2013-10-23 17:44:13 +02:00
Daniel Holbert 4b9ceed950 Bug 929430 part 2: Wrap OggReader.cpp's opus-specific variables and their usages in #ifdef MOZ_OPUS. r=rillian 2013-10-23 08:21:04 +02:00
Daniel Holbert a85560fe74 Bug 929430 part 1: Wrap OggReader.cpp's opus-specific function calls in #ifdef MOZ_OPUS, so that it can build successfully with --disable-opus. r=rillian 2013-10-23 08:21:02 +02:00
Daniel Holbert 9fbb234a7f Bug 929404: Mark unused-depending-on-build-config function as 'inline' instead of 'static'. r=derf 2013-10-23 08:20:54 +02:00
Matthew Gregan 50cbffb3ef Bug 927245 - Preliminary work to enable preffing off the deprecated Audio Data API implementation. r=ehsan 2013-10-18 15:10:56 +13:00
Matthew Gregan 8465bcf506 Bug 926665 - Clear mMediaSource when Attach fails. r=doublec. 2013-10-16 15:23:39 +13:00
Wes Kocher 047acd439f Backed out changeset a31b0fd17a7a (bug 926665) for crashtest bustage 2013-10-21 21:36:45 -04:00
Matthew Gregan d1bb9ec24f Bug 926665 - Clear mMediaSource when Attach fails. r=doublec. 2013-10-16 15:23:39 +13:00
Trevor Saunders c29760731a Backed out changeset 99b17c404db2 and e40a964458f8 for landing stuff that shouldn't have and then backing out stuff that should have stayed on a CLOSED TREE
--HG--
extra : amend_source : 54312955270ea4098a3add3cd0708866de2e40bb
2013-10-21 18:58:14 -04:00
Trevor Saunders 67e6559698 bug 922566 - kill dom-config.mk r=gps 2013-10-11 12:02:41 -04:00
Chris Pearce 6a9509a8d7 Bug 928765 - Create MediaDecoderReader::GetBuffered() base implementation that estimates buffered ranges, so that subclasses do have to keep reimplementing the estimation. r=doublec 2013-10-21 16:31:05 +13:00
Daniel Holbert 412e1e0ee3 Bug 928541: Drop unused variable 'cairoFormat' from MediaEngineTabVideoSource::Draw(). r=blassey 2013-10-19 14:04:43 +02:00
Ryan VanderMeulen 956845a7af Merge inbound to m-c. 2013-10-18 15:08:39 -04:00
Brad Lassey 70dce7435c bug 742832 - Add support for tab sharing for getUserMedia r=jesup
--HG--
extra : rebase_source : e42fbab31083b0e91be9992b2ba0062d14294c25
2013-10-17 16:48:30 -04:00
Carsten "Tomcat" Book 18e7416841 merge b2g-inbound to mozilla-central 2013-10-18 11:39:28 +02:00
Sotaro Ikeda 49db7bff2e Bug 925381 - Fix mpeg4 video seek failure. r=nical, r=doublec 2013-10-17 11:09:15 -04:00
JW Wang e1956dccf3 Bug 927322 - AudioDestinationNode should support weak reference; r=ehsan 2013-10-16 17:27:45 +08:00
Carsten "Tomcat" Book f1d2ae53bc Merge mozilla-central to mozilla-inbound 2013-10-18 14:13:10 +02:00
Landry Breuil 45a3d01ae6 Bug 927898: fix loading of gstreamer libs at runtime on OpenBSD. r=doublec 2013-10-18 11:13:50 +02:00
Peter Chang f2befa9556 Bug 922510 - Extend GonkNativeWindow to support android JB 4.2.2, r=sotaro,gps 2013-10-18 10:42:43 +08:00
Carsten "Tomcat" Book 3aa160379a Merge mozilla-central to b2g-inbound 2013-10-15 10:43:38 +02:00
Karl Tomlinson 63a42b0bd9 b=923106 recompute frequency dependent parameters when OscillatorType changes r=padenot
mSquare, mTriangle, and mSaw are not initialized in the OscillatorNodeEngine
constructor, just like they are not initialized when switching to
OscillatorType::Sine.  These parameters are initialized if and when switching
to the OscillatorTypes that use them.

mFinalFrequency, mNumberOfHarmonics, mSignalPeriod, mAmplitudeAtZero,
mPhaseIncrement, mPhaseWrap are not initialized in the OscillatorNodeEngine
constructor, just like they are not initialized immediately on switching
OscillatorType.  These parameters are initialized in
UpdateParametersIfNeeded(), conditional on mRecomputeParameters.

--HG--
extra : transplant_source : a%C1%83%03%03%5CJ%88%99j%A0%93%05%92%06%CA%D6%8B%00%21
2013-10-15 13:10:02 +13:00
Sotaro Ikeda 6b8ac29249 Bug 923848 - Reuse mp3 file format check result. r=doublec 2013-10-14 07:37:09 -04:00
Thomas Zimmermann 8460dccbe6 Bug 924678: Stop MP3 parser if decoder got cleared, r=doublec
If the decoder has been cleaned up, there is no point in further
parsing the MP3 file. This patch makes the I/O logic stop in that
case.

The patch also fixes a bug where the beginning of an MP3 chunk was
parsed multiple times if the chunk is larger than 4 GiB.

--HG--
extra : rebase_source : d247ed3995991d362c51a0666274e9de3b90b7d2
2013-10-14 10:38:48 +02:00
Thomas Zimmermann b19d671b9b Bug 924678: Explicitly clear OmxDecoder::mDecoder, r=doublec
The MediaDecoderStateMachine frees the Decoder during its own
shutdown. If the the MediaDecoderStateMachine for an MP3 file
gets cleaned up before the MP3 frame parser is finished, the
OmxDecoder operates with an invalid Decoder.

With this patch, the MediaDecoderStateMachine informs the
OmxDecoder to clear the decoder field. The MP3 parser logic
detects this case and returns.

--HG--
extra : rebase_source : 0a00de3cf7b95ede77408e5d43cccbcd706750cd
2013-10-14 10:38:17 +02:00
Benjamin Chen bc3881208c Bug 831645 - part2, Rtsp media resource and decoder. r=roc, doublec, sworkman, khuey, gps 2013-09-23 17:53:36 +08:00
Benjamin Chen 9271e5abf6 Bug 831645 - Part1, Add Rtsp protocol and streaming protocol interface. r=jduell.mcbugs, sworkman 2013-09-23 18:12:11 +08:00
Paul Adenot 2c6277d8fb Bug 922247 - When an AudioContext is not running at 48kHz, resample the input of the MediaRecorder when encoding in Opus. r=roc
--HG--
extra : rebase_source : 8dd9202ed1a3e6b2b38fed78050223d1fccb74e5
2013-10-17 15:45:32 +02:00
Paul Adenot a676f4ac7e Bug 918861 - Update tests that were relying on a 48000Hz samplerate. r=ehsan
--HG--
extra : rebase_source : 84ba0d07e2c1905bc9b7d6e37121c6e0d3d53b33
2013-10-17 15:44:52 +02:00
Paul Adenot 00111b2b51 Bug 918861 - Allow the MSG to choose a better samplerate than 48000Hz. r=roc
--HG--
extra : rebase_source : 2181ccbbdca370031d1d3ae5b44ef4e37a3e948c
2013-10-17 15:44:52 +02:00
Paul Adenot 6a1e6061fb Bug 918861 - Expose a better samplerate though the AudioStream interface. r=kinetik
--HG--
extra : rebase_source : d085d173aeb00f47f56016c0a1d1bf7fe11fb6f3
2013-10-17 15:44:52 +02:00
Paul Adenot 5d07a5937b Bug 907817 - Allow AudioStream users to pass-in latency requirements. r=kinetik
--HG--
extra : rebase_source : 3cf1971913b3cfd8000c58614b0d0be8b7805af0
2013-10-17 15:44:52 +02:00
Andrea Marchesini e103c1c47e Bug 924870 - AudioContext.mozAudioChannel attribute, r=ehsan 2013-10-11 13:55:47 +02:00
Mike Hommey a28b5047a3 Bug 922460 - Kill media/webrtc/shared_libs.mk. r=ted
--HG--
rename : media/webrtc/shared_libs.mk => layout/media/webrtc/Makefile.in
2013-10-11 08:15:24 +09:00
Boris Zbarsky e9898392f2 Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey 2013-10-09 12:05:22 -04:00
Ed Morley a4e9089af7 Backed out changeset 8fa0cbe4a54d (bug 817194) for build failures 2013-10-09 17:48:13 +01:00
Ed Morley fd6266fd98 Backed out changeset ccedb8b1cefc (bug 817194) 2013-10-09 17:47:58 +01:00
Boris Zbarsky 5cb05e1ce0 Bug 817194 followup because someone added another *Initializer use. r=bustage 2013-10-09 12:20:49 -04:00
Boris Zbarsky dab154c98a Bug 817194. Make WebIDL dictionary types sanely initialized by default; add a new Fast subclass to handle cases when we can skip the initialization safely. r=khuey 2013-10-09 12:05:22 -04:00
Karl Tomlinson 27cf88ffdf b=924288 no need to set filter parameters after every process() r=ehsan
--HG--
extra : transplant_source : %23%D1%3B%D8%03%85%25%95%A8z%15%24K%F0%F7f2%20u%95
2013-10-09 15:33:07 +13:00
Karl Tomlinson f0ee7f661f b=924286 handle non-unit mVolume in BiquadFilterNode r=ehsan
--HG--
extra : transplant_source : %E5%9E%3E%5D%F2%E5%99%7B%88%DB%21%7D%1C%82%1A.q%26%F0%EA
2013-10-09 15:33:02 +13:00
Karl Tomlinson 4e76869b02 b=922458 allow copying the last sample in an AudioBuffer channel r=ehsan
--HG--
extra : transplant_source : %5EM%40g%06n%04%A1%DB%0A%7D%3A%5C6%21%CA%C101%09
2013-10-09 15:32:16 +13:00
Andrea Marchesini dd679dbe56 Bug 874508 - Web Audio is connected to AudioChannelService, r=ehsan 2013-10-08 20:20:33 +02:00
Phil Ringnalda 6a8b9e286b Merge m-c to m-i 2013-10-04 22:17:30 -07:00
Phil Ringnalda a82cbc5d48 Merge b-i to m-c 2013-10-04 22:06:34 -07:00
Andrew Quartey f53cab1745 Bug 893309 - Implement TrackEvent. r=cpearce 2013-10-04 14:28:25 -04:00
Carsten "Tomcat" Book c2d9983719 Backed out changeset b607cc162c2c (bug 874508) for causing perma orange b2g-crashtest failures 2013-10-04 16:31:02 +02:00
Andrea Marchesini 581d9cf944 Bug 874508 - Web Audio is connected to AudioChannelService, r=ehsan 2013-10-04 06:27:49 -04:00
Phil Ringnalda 450b9ed8c7 Backed out changeset 643354059afb (bug 874508) for b2g build bustage
CLOSED TREE
2013-10-03 20:11:58 -07:00
Andrea Marchesini eef83fde31 Bug 874508 - Web Audio is connected to AudioChannelService, r=ehsan 2013-10-03 18:42:04 -04:00
Andrea Marchesini 68bf49d79c Bug 923517 - AudioDestinationNode should work as an EventTarget, r=ehsan 2013-10-03 18:40:20 -04:00
Kartikaya Gupta 00e4b67a26 Bug 923472 - Use memset instead of block field assignment to fix a compile error. r=cpearce 2013-10-03 17:00:33 -04:00
JW Wang 4ffa278343 Bug 921695 - Part 2: Modify callers. r=karlt 2013-10-01 14:22:57 +08:00
JW Wang 11b47d7a8d Bug 921695 - Part 1: Add convert function. r=karlt 2013-10-01 14:22:54 +08:00
Ms2ger 4c35b806f8 Merge m-c to inbound. 2013-10-03 11:09:17 +02:00
Sotaro Ikeda d9445e9be6 Bug 922334 - Add zero division check and prevent unncecessary mp3 parsing r=doublec 2013-10-03 10:53:21 +02:00
Ms2ger f4153f40d4 Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps 2013-10-03 09:11:13 +02:00
Ms2ger 24a2e9c09e 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 1ee1f27aa3 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Masayuki Nakano 5dbc2a60e4 Bug 920377 part.31 Get rid of nsEvent r=roc 2013-10-02 12:46:04 +09:00
Ehsan Akhgari 7bb8ab1a35 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 00e08db4aa Backed out changeset dc8642fe6529 (bug 893309) for build failures 2013-10-02 15:59:07 +01:00
Andrew Quartey f2eb0ae894 Bug 893309 - Implement TrackEvent. r=cpearce 2013-10-02 10:30:29 -04:00
Ehsan Akhgari bf34a5f2f0 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 76ab12a6bc 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 4b65ba67fe Bug 886219 - Force an invalidation when an async video finishes. r=nical 2013-10-02 16:05:34 +13:00
Robert O'Callahan 2cbed1975a 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 e422a66147 Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob 2013-10-01 17:57:50 -07:00
Steven Lee 19529ebaa9 Bug 918056 - Return errors when the mic is occupied. r=rjesup 2013-10-01 08:06:57 -04:00
Sotaro Ikeda da4c2d6c78 Bug 914870 - Reduce mp3 parse chunk buffer size to 32KiB. r=doublec 2013-10-01 08:06:57 -04:00
David Anderson 437f6053a9 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 8febb002f2 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 fec6395878 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 960af07a87 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 78889ff332 test for bug 920987
--HG--
extra : rebase_source : 0e049c2e25f60bfff2dd45869a770ed9055c9de2
2013-10-01 09:49:31 +13:00
Paul Adenot 77c6e26ec5 Bug 921099 - Remove alignment assertions in AudioNodeEngineNEON.cpp for now. r=ehsan 2013-09-30 15:04:54 -04:00
Ed Morley 2d8a72b912 Bug 897843 - Disable test_media_selection.html on Windows for too many intermittent failures 2013-09-30 17:37:44 +01:00
Gregory Szorc 1cff342d15 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley 18a411a55c Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Gregory Szorc 6ed63cb064 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ehsan Akhgari 250106025a Bug 919572 follow-up: remove two unused variables 2013-09-28 17:08:30 -04:00
Edwin Flores 9772d4c7cf Bug 919572 - Refactor the MP3 frame parser r=cpearce 2013-09-28 16:33:32 +12:00
Wes Kocher 13a762accd Merge m-c to inbound 2013-09-27 20:38:44 -07:00
Wes Kocher d970705962 Merge b2g-inbound to m-c 2013-09-27 19:35:44 -07:00
Karl Tomlinson 02d29ab666 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 6a14cf69bf b=920987 check for ovrflw in addition r=ehsan
--HG--
extra : rebase_source : 759d416f4697bb60dd24b104678b6fb259ee308d
2013-09-28 12:11:26 +12:00
Martijn Wargers a3d1617473 Bug 918604 - Remove more enablePrivilege calls. r=jmaher 2013-09-25 19:32:20 +02:00
Ryan VanderMeulen df60bfed7e 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 37f5ae38bd Bug 920088 - TextTrackRegion's TextTrack should point at the correct TextTrack. r=rillian 2013-09-24 11:59:17 -04:00
Randy Lin fc76c58ecb 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 4ee712cb39 Merge b2g-inbound to m-c. 2013-09-26 21:32:43 -04:00
CJKu 2be715499e Bug 909670 - Test case for for the MediaRecorder::Session. r=jsmith 2013-09-26 09:40:41 -04:00
CJKu 67bcf8f3b2 Bug 909670 - MediaRecorder - Implement MediaRecorderSession. r=roc 2013-09-26 09:40:40 -04:00
Ryan VanderMeulen d7387842c3 Merge the last PGO-green inbound changeset to m-c. 2013-09-25 14:51:55 -04:00
Rick Eyre 6cadde8ff3 Bug 919265 - Part 2: Add ClearOnShutdown() call on the static WebVTTParserWrapper. r=bz 2013-09-24 15:17:15 -04:00
Rick Eyre 252f804d52 Bug 919265 - Part 1: Fix TextTrackCue() crashtests to use VTTCue(). r=bz 2013-09-23 13:59:49 -04:00
Eitan Isaacson c1a8a104d4 Bug 918989 - Have nsPicoService only start in main gecko process. r=smaug 2013-09-24 23:57:28 -07:00
Gian-Carlo Pascutto 017414a18c Bug 918372 - Allocate a single GlobalRef for the Android Context. r=blassey 2013-09-25 08:06:21 +02:00
Karl Tomlinson e442bb5b9f 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 4127d9fdaa Bug 917491: Guarantee cleanup of AsyncLatencyLogger on xpcom-shutdown r=bsmedberg 2013-09-24 22:10:24 -04:00
Benoit Jacob 55d6cf1e20 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 a78e1fb9ba Bug 919513 - content/media/directshow fails to compile on GCC. r=cpearce 2013-09-24 10:41:00 +02:00
Karl Tomlinson 90b6bec06a 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 4775d608a9 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 1eaf698496 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 7185723413 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 dda34e4051 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 fd76422dd6 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 a6c6d85ac8 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 7127e8b159 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 e5d67f927d 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 c8d51e9ce2 Bug 919341 - Minimize the #includes in xpcom/ IDL files; r=bsmedberg 2013-09-23 13:29:27 -04:00
Rick Eyre b17bace20c 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 dde41eecc2 Bug 917945 - Part 2: Add RegionId attribute to VTTCue. r=rillian 2013-09-18 13:29:20 -04:00
Rick Eyre 8162fa0132 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 165a1f3505 Bug 921123 - Fix case where utterance is cancelled before it is started. r=smaug 2013-09-27 10:03:05 -07:00
Martijn Wargers 01fd8c8bbd Bug 918604 - Remove more enablePrivilege calls. r=jmaher 2013-09-25 19:32:20 +02:00
Matthew Gregan 609f3ce232 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 9d86738c16 Bug 905513 - Annotate functions with virtual/MOZ_OVERRIDE and document use of SBR monitor. 2013-09-27 17:22:38 +12:00
Matthew Gregan b64f0348e3 Bug 905513 - Don't clobber audio VideoInfo fields when accepting video configuration. r=doublec 2013-09-27 17:22:38 +12:00
Matthew Gregan e5ba858708 Bug 905513 - Use pushPrefEnv instead of setBoolPref, and reenable test on Android. r=doublec 2013-09-27 17:22:37 +12:00
Matthew Gregan f2a00322db 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 952a1574d5 Bug 905513 - Fix typo in AsyncEventRunner and BufferDecoder. r=doublec 2013-09-27 17:22:37 +12:00
Rick Eyre fecd77a25a 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 96f3bdfc64 Back out 4a9ca7d8c499 (bug 918135) for frequent OS X orange 2013-09-22 22:23:56 -07:00
Edwin Flores 009a2c5e97 Bug 918135 - Improve MP3 stream duration estimate r=cpearce 2013-09-23 14:46:01 +12:00
Ehsan Akhgari 39c2729336 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 96ad3bf319 Bug 918234 - Use a proper StaticRefPtr type in Latency.cpp. r=bsmedberg, r=padenot 2013-09-20 10:28:09 -04:00
Rick Eyre fbc47c4a69 Bug 895091 - Part 5: Test for multiple WebVTT files loading at once r=khuey 2013-09-10 07:13:00 -07:00
Rick Eyre 3c52a55dd0 Bug 895091 - Part 4: Turn text track cue tests back on r=rillian 2013-09-05 07:57:00 -07:00
Rick Eyre 965a7ef175 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 d646168781 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 063f69b2c6 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 81c7afbe23 Bug 897108 - Disable test_playback_rate_playpause.html for too many intermittent failures 2013-09-19 14:54:10 +01:00
Benoit Jacob 229d2760cd Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-19 09:54:42 -04:00
Benoit Jacob ef57b5655b Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-19 09:54:39 -04:00
Paul Adenot ae09c349ad Bug 881959 - Handle self-connection. r=ehsan
--HG--
extra : rebase_source : f2d4a0a28cb85668f80c58d1a56926f65ea40e72
2013-09-16 17:37:27 +02:00
Paul Adenot a37178b018 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 395218d076 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 7763e90cd9 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 71dddda23b 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 cae0d13cb8 Bug 916836 - Handle jumps off the end of the buffer in MP3FrameParser. r=padenot 2013-09-19 16:10:43 +12:00
Wes Kocher de3dfc4a8e Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE 2013-09-18 17:21:02 -07:00
Wes Kocher 0b90687d1e Backed out changeset 040522aacba4 (bug 913847) 2013-09-18 17:18:56 -07:00
Karl Tomlinson d3bfbb3654 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 df87016e5b Bug 917260 - Nullcheck Destination() in AudioContext::DestinationStream. r=ehsan 2013-09-17 15:23:52 +02:00
Benoit Jacob 5526ea7b69 Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Benoit Jacob 1b7e3c520e Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan 2013-09-18 18:50:32 -04:00
Randell Jesup 781dbbedd2 Bug 886052: Turn on audio webrtc_trace logs for getUserMedia r=gcp 2013-09-18 17:12:38 -04:00
Ralph Giles 69e9dad50b Backed out changeset f56acf83688c (bug 895091) r=bustage CLOSED TREE 2013-09-18 13:47:43 -07:00
Ralph Giles aaf5811e76 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 c93be09128 Backed out changeset 330a415e7723 (bug 895091) 2013-09-18 13:47:05 -07:00
Ralph Giles d7df4cd91b Backed out changeset feca3867b395 (bug 895091) 2013-09-18 13:47:04 -07:00
Ralph Giles 301fe72e32 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 750cd25d9b Bug 895091 - Test for multiple WebVTT files loading at once r=khuey 2013-09-10 07:13:00 -07:00
Rick Eyre 37d3fe53c0 Bug 895091 - Turn text track cue tests back on r=rillian 2013-09-05 07:57:00 -07:00
Rick Eyre 4402561628 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 b4b8ca0b93 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 3352fbe8c5 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 c34bd677f5 bug 915566 - rm another makefile in content/ r=mshal 2013-09-12 07:14:42 -04:00
Trevor Saunders 02da83010c bug 915566 - rm Makefiles in content/ r=ted 2013-09-12 03:52:58 -04:00
Ralph Giles a4447ac147 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 2ea123dcde 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 bd65ff7b49 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 7a01f0d203 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 0608685cbf 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 cafa3e5a01 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 b26ff3daf2 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 d1696dd567 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 fac25b8e05 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 006662cf9c 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 83c991e4d3 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 8a595afe28 Bug 916773 - Initialize mLatency in SharedBuffer's constructor. r=ehsan 2013-09-16 17:37:26 +02:00
Marcus Saad 569b911fc5 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 c88ae238ac Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky 2013-09-17 12:49:07 -04:00
Eitan Isaacson e0e99df3b6 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 b2570c363a Backed out changeset 9524b1df278e (bug 908669) 2013-09-17 17:14:58 +01:00
Ed Morley a88f8cb96c Backed out changeset fb89f2090779 (bug 881959) 2013-09-17 17:14:55 +01:00
Ed Morley 63e17f1c16 Backed out changeset fe576415129e (bug 881959) 2013-09-17 17:14:52 +01:00
Ed Morley 183bc83b3a Backed out changeset 5e5d5e42f6c2 (bug 881959) 2013-09-17 17:14:49 +01:00
Ed Morley 682fe32a4d Backed out changeset b221626331b4 (bug 881959) 2013-09-17 17:14:45 +01:00
Ed Morley 72dc9a81ef Backed out changeset 2aa38a1a2b06 (bug 881959) 2013-09-17 17:14:42 +01:00
Ed Morley 6c74786a5b Backed out changeset 3d2aac8dc618 (bug 916773) 2013-09-17 17:14:39 +01:00
Ed Morley 57663d6299 Backed out changeset ade49a801461 (bug 881959) 2013-09-17 17:14:36 +01:00
Ed Morley 2cd786a973 Backed out changeset 4323508b3412 (bug 917260) 2013-09-17 17:14:33 +01:00
Ed Morley a7ff09a2b0 Backed out changeset 924b0619e616 (bug 881959) 2013-09-17 17:14:29 +01:00
Ed Morley 94fdad4a1d Backed out changeset 7d17f2d129e3 (bug 881959) 2013-09-17 17:14:26 +01:00
Paul Adenot 8f2783b9fe Bug 881959 - Fix inbound bustage on XP again, on a CLOSED TREE. 2013-09-17 17:25:33 +02:00
Paul Adenot 1b7d26c1ad Bug 881959 - Fix inbound bustage on XP. 2013-09-17 16:25:13 +02:00
Paul Adenot 0de18135cf Bug 917260 - Nullcheck Destination() in AudioContext::DestinationStream. r=ehsan
--HG--
extra : rebase_source : daec86b27d8497ba109ca998f0fccf3d6d7c3677
2013-09-17 15:23:52 +02:00
Paul Adenot cc9ca64835 Bug 881959 - Handle self-connection. r=ehsan
--HG--
extra : rebase_source : 02ef02b921df39dcb647096a10a1fa4e85161c70
2013-09-16 17:37:27 +02:00
Paul Adenot b8eaf2be2b 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 202c19d92d 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 d5a5a903f4 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 6cd41969da 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 9e6a6f212f 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 5e031096a3 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 30e18ab3e5 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 ef82e312fc Bug 785140 - Correct SVG whitespace handling in various spots. r=smaug,dholbert 2013-09-17 13:52:39 +01:00
Ehsan Akhgari aac4264f95 Bug 915524 - Implement AudioBuffer.copyFromChannel and AudioBuffer.copyToChannel; r=roc 2013-09-17 07:30:32 -04:00
Rick Eyre 46699b0bdf 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 ed18423fba 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 04138a1f0d Bug 883173 - Part 1: Rename parameter in TextTrackCue::RemoveCue and AddCue. r=rillian 2013-06-14 15:08:17 -04:00
Ryan VanderMeulen 5d64f58cde Backed out changeset b83bf0fa7adc (bug 924724) 2013-10-14 23:26:53 -04:00
Randy Lin 4a995a7303 Bug 924724 - Shutdown hang in Media Encoder when running state machine mochitest. r=roc 2013-10-14 12:34:48 +08:00
Paul Adenot 19e5ba9a55 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
Paul Adenot 3a22f7cc23 Bug 904617: Part 2 - Expose Audio Stream Latency r=padenot,jesup 2013-09-17 02:39:30 -04:00
Ed Morley 7766485842 Backed out changeset 9cc6dd50c93a (bug 904617) 2013-09-16 08:43:56 +01:00
Ed Morley 3cf7ed846a Backed out changeset 81cee5ae7973 (bug 904617) 2013-09-16 08:43:47 +01:00
Paul Adenot 09d62fb48e Bug 904617: Part 3 - Log latency, and adds a python script to understand the log r=padenot,jesup 2013-01-28 19:22:37 +01:00
Paul Adenot c8b87de3c6 Bug 904617: Part 2 - Expose Audio Stream Latency r=padenot,jesup 2013-09-16 03:26:04 -04:00
Randell Jesup edd0e485ab Bug 882145: reland changesets bc4ee7cbd7bd and cf373e408a6b r=bz 2013-09-16 02:34:57 -04:00
Ryan VanderMeulen 45c4ca50e7 Backed out changesets bc4ee7cbd7bd and cf373e408a6b (bug 882145) for causing bug 916609. r=jsmith 2013-09-15 18:19:42 -04:00
Jan-Ivar Bruaroey 3ab140206b Bug 882145: gUM constraints converted to webidl + gUMDevices() takes constraints. r=bz r=jesup 2013-09-14 00:48:39 -04:00
Edwin Flores a0afa44085 Bug 914479 - Improve MP3FrameParser duration estimation r=padenot 2013-09-14 13:14:42 +12:00
Edwin Flores 8cb8eb6d22 Bug 914479 - AudioToolbox MP3 backend on OSX r=cpearce 2013-09-14 13:14:42 +12:00
Edwin Flores fa767c75ca Bug 914479 - Build changes for AudioToolbox MP3 backend on OSX r=khuey 2013-09-14 13:14:41 +12:00
Andrew Quartey c9ac8008b9 Bug 897504 - Implement region API for Gecko. r=giles, khuey 2013-09-13 19:44:33 -04:00
Chris Pearce 03b4450f4b Bug 915958 - Automatically Finish() MediaQueues, so that each backend doesn't need to remember to do it. r=edwin 2013-09-13 14:33:54 +12:00
Ed Morley ebfcb6a119 Merge mozilla-central and b2g-inbound 2013-09-12 12:09:58 +01:00
Sotaro Ikeda 422e8f19e2 Bug 871364 - Support GonkNativeWindow on gonk-JB r=jmuizelaar,mwu,doublec,mikeh,glandium 2013-09-12 11:40:26 +02:00
Karl Tomlinson 08aaa3b223 b=914030 don't keep alive used AudioContexts from the window r=ehsan,bz
--HG--
extra : transplant_source : %9D%94%FF%AA%92%C7%5B8%FA%C7%DD%3A%E3W%9E%BD%7F%25%5C%19
2013-09-12 16:16:53 +12:00
Karl Tomlinson d42a4b06c8 b=914030 keep a self reference on destination while offline context is rendering r=ehsan
--HG--
extra : transplant_source : %FAk%98%E7%CB%2C%C6uf%EE%F4%CFq%3D%A7%D1%D6%E9%F1%29
2013-09-10 17:10:53 +12:00
Karl Tomlinson 501043ae47 b=914030 shutdown an OfflineAudioContext when it has completed r=ehsan
This is needed to remove self-references in the graph when no more processing
will take place on the graph.

--HG--
extra : transplant_source : %EC%82%A8s%3D%08%E4%FB%8C%A5%A6%28d/2%89Rz%98s
2013-09-10 17:10:36 +12:00
Karl Tomlinson dc411d889b b=914030 shut down an AudioDestinationNode's graph on destruction, if not already r=ehsan
This means that the graph will be shutdown properly, even if the
AudioDestinationNode is unlinked before AudioContext::Shutdown() is called.

Making MediaStreamGraph::DestroyNonRealtimeInstance() idempotent also makes
AudioContext::Shutdown() idempotent.

--HG--
extra : transplant_source : jZ%86%C5%C2n%17%EF%C2%C0y%ED%14%0E%17_dt%0C%07
2013-09-10 17:05:22 +12:00
Karl Tomlinson b5d291c0c7 b=914030 remove MediaBufferDecoder::Shutdown(), no longer necessary since bug 900711, as part of making AudioContext::Shutdown() idempotent r=ehsan
--HG--
extra : transplant_source : %A8%BB%7D%A3%A6%87NF%F3%9D.Lu%D4%15B%10%9C%DFR
2013-09-10 17:03:06 +12:00
Karl Tomlinson 86916b22d2 b=914030 update AudioNode ownership comment r=roc
--HG--
extra : transplant_source : %B2z%F7%B7%8F%0F%AB%95N%B0%82%AC%8D%917%1B%84%3D%3A%9C
2013-09-10 16:35:47 +12:00
Karl Tomlinson 0460b0fd5e b=914013 tighten detection of end of buffer playback r=ehsan
--HG--
extra : transplant_source : %40%3F%5D%9A%05%87b%97%12%7BO%8A%2Ai%F38%98%F4.%DF
2013-09-10 15:39:19 +12:00
Karl Tomlinson b1fea6a263 b=911777 collect cycles before getting maxChannelCount to release some cubeb streams r=padenot
--HG--
extra : transplant_source : %C3W%96%C2J%B9%B4V%9C%C0yA%10%09%7B%B2%17%D8%E0R
2013-09-07 00:33:32 +12:00
Nicholas Nethercote 7983bb2a7f Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Makoto Kato 2eee2da342 Bug 914567 - Cannot build directshow code by VS2013RC. r=cpearce 2013-09-11 10:35:03 +09:00
Olli Pettay 8b192e2bbe Bug 900904 - Support webidl-only generated events, r=khuey,gps
--HG--
extra : rebase_source : cda37d1ae2ff9b969d081fe0ec103d4f07098a3b
2013-09-10 21:27:39 +03:00
Guilherme Gonçalves 9e6b93ed92 Bug 902145 - Ignore all speech events while aborting. r=smaug 2013-09-10 13:12:54 -04:00
Guilherme Gonçalves b5a5e12688 Bug 902145 - Remove priority events, which were unused. r=smaug 2013-09-10 13:12:54 -04:00
Ms2ger d9d7605e4f Merge last PGO-green inbound changeset to m-c.
--HG--
rename : dom/bindings/BindingUtils.h => dom/bindings/OwningNonNull.h
2013-09-10 10:13:12 +02:00
Ms2ger fd34744914 Bug 913923 - Part b: Move OwningNonNull into its own header; r=dzbarsky
--HG--
rename : dom/bindings/BindingUtils.h => dom/bindings/OwningNonNull.h
2013-09-10 09:03:37 +02:00
Ed Morley 8c3a183572 Merge mozilla-central and b2g-inbound 2013-09-09 13:30:32 +01:00
Chris Pearce 83ca0489b5 Bug 910966 - Bustage fix for 48a66737dc5c. Forgot to qref. r=bustage. 2013-09-09 09:52:20 +12:00
Chris Pearce 9a6ec47677 Bug 910966 - Use MP3FrameParser in DirectShow's SourceFilter, to more accurately determine the offset of the first MP3 frame. This enables us to only pass the MP3 data into DirectShow, which can't handle large ID3v2 tags. r=padenot 2013-09-09 09:47:54 +12:00
Chris Pearce cb69dfe1b0 Bug 910996 - Move MP3FrameParser out of B2G specific code, so it can be used on other platforms. r=padenot
--HG--
rename : content/media/omx/MP3FrameParser.cpp => content/media/MP3FrameParser.cpp
rename : content/media/omx/MP3FrameParser.h => content/media/MP3FrameParser.h
2013-09-09 09:47:29 +12:00
Randy Lin 736e73d31d Bug 910903 - Add logging to test_mediarecorder_avoid_recursion.html to help find out the timeout issue. r=jsmith 2013-09-07 20:41:57 +08:00
Benoit Jacob 4dbb3d0ca3 Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel 2013-09-06 22:15:49 -04:00
Chris Pearce bd28d7d80f Bug 910897 - Use MP3FrameParser in DirectShow in order to calculate the duration. r=padenot 2013-09-10 12:45:33 +12:00
Edwin Flores 55463866d0 Bug 899420 - Annotate intermittent test_playback_rate assertion failures on linux64 on a CLOSED TREE r=bustage 2013-09-12 14:57:20 +12:00
Edwin Flores 55853e36f9 Bug 899420 - Annotate assertion failures in test_played on linux64 on a CLOSED TREE r=bustage 2013-09-12 14:42:21 +12:00
Edwin Flores 35cf2c710f Bug 899420 - Re-enable test_seek, test_buffered, test_bug493187, test_playback_rate, test_bug465498, test_played on Linux r=cpearce 2013-09-12 11:23:06 +12:00
Ryan VanderMeulen 4dec0a7644 Merge inbound to m-c. 2013-09-06 20:55:41 -04:00
Ehsan Akhgari 82b9523028 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Ed Morley 03c9d2802c Merge mozilla-central and b2g-inbound 2013-09-06 16:24:22 +01:00
Shih-Chiang Chien 33cf6b681a Bug 912960 - Use nsString for mDeviceName and mUniqueId. r=rjesup 2013-09-06 09:14:15 -04:00
Ms2ger 03028689d0 Bug 909003 - Part e: Remove some includes from SpeechGrammarList.h; r=bz 2013-09-06 08:43:19 +02:00
Ms2ger 9e242a759d No bug - Remove a stray semicolon 2013-09-06 08:41:34 +02:00
Ehsan Akhgari 45746b149c Backed out changeset 2f15518f566e (bug 912702) because of B2G JB Emulator build bustage
--HG--
extra : rebase_source : 6c01ad3bc2f91b0e7e3edab84aedbfe064310a8b
2013-09-05 13:29:38 -04:00
Ms2ger 486a5c3769 Merge m-c to inbound. 2013-09-06 12:31:58 +02:00
Matthew Gregan a4824ee8b5 Bug 911051 - Fix some namespace/type name related potential build errors in content/media. r=doublec 2013-09-06 18:31:50 +12:00
Matthew Gregan 2465fe64dd Bug 911050 - Use mfbt/Endian.h rather than a local version in WaveReader. r=doublec 2013-09-06 18:31:50 +12:00
Edwin Flores 114ff5ef9e Bug 752796 - Stop MediaDecoderStateMachine::SendStreamData from trying to A/V sync unnecessarily r=roc 2013-09-06 15:14:48 +12:00
Edwin Flores 7ab1583e18 Bug 884651 - Stop gstreamer from trying to sync video and audio for us r=cpearce 2013-09-06 15:14:48 +12:00
Mike Hommey 9bec3dacdd Bug 912980 - Don't use VPATH in content/media/webspeech/recognition. r=gps 2013-09-06 09:22:09 +09:00
Mike Hommey a39e437eae Bug 912862 - Cleanup some wrong assignments in moz.build. r=ted 2013-09-06 09:19:08 +09:00
Ehsan Akhgari 210ba12d7c Bug 912702 - Minimize the #includes in content/media; r=roc 2013-09-05 16:25:17 -04:00
Ehsan Akhgari 66abd6bfb5 Bug 912702 - Minimize the #includes in content/media; r=roc 2013-09-04 17:58:14 -04:00
Steven Lee 4821d005c2 Bug 902856 - Generate fake audio data in MediaEngineDefaultAudioSource. r=jesup, r=derf 2013-09-05 08:34:49 -04:00
Robert O'Callahan 03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda 26ceee4fb5 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote 1f32372424 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Karl Tomlinson 57d8fb0391 b=906966 limit ScriptProcessorNode input channel count through channelCount and channelCountMode r=ehsan
--HG--
extra : transplant_source : %E6-%8A%10%BEb%FEg%8C%C3f%2C%1F%C6%859%E5%27%1C%60
2013-09-05 07:44:37 +12:00
Karl Tomlinson 3d1ac8d90c b=906966 limit ConvolverNode and PannerNode input channel count through channelCount and channelCountMode r=ehsan
--HG--
extra : transplant_source : %8A%FB%BC%D3%D0%F3Ct%A5%D1%B1%AF%3D%9Bk%896%7F%7F%1F
2013-09-05 07:44:35 +12:00
Karl Tomlinson e18bfe88a5 tests for convolver and panner channelCount b=906966
--HG--
extra : transplant_source : %17%A2WFH%18%7E-c%2CZVC%AAc%85%FB%02%BE%BD
2013-09-05 07:44:04 +12:00
Karl Tomlinson 07f97e6423 b=907986 remove unused ThreeDPoint::Distance() r=padenot
--HG--
extra : transplant_source : %19%DD%A9%CB%CC%B1%C42%E2%8EY%CE%22%89o_%97i%03_
2013-09-04 21:21:00 +12:00
Karl Tomlinson 95c6c435c1 b=907986 handle zero front-right plane projection without NaNs r=padenot
The azimuth calculation in the Web Audio spec becomes undefined in this
situation as it requires normalizing a zero vector.  The panning effect should
not depend on azimuth when the source is directly above the listener (because
position does not depend on azimuth), but the specified "equalpower" panning
model does depend on azimuth even at this elevation.  Setting azimuth to zero
produces the same result as if the normalized projection were replaced with a
zero vector.

--HG--
extra : transplant_source : f%A4h%CB7%7Bp%87%AE%09%9F%2Cu%D7%CD%9D%5E%A8%EC%0D
2013-09-04 21:20:59 +12:00
Karl Tomlinson 23ae39aad2 test equalpower panning effect with panner directly above b=907986
--HG--
extra : transplant_source : %8E%99%9B%F8%288%5C%A5%E8%D1%C3%E2%9F%89%5C%D0C%B1l%B0
2013-09-04 21:20:59 +12:00
Karl Tomlinson 4affe59604 b=907986 normalize orientation vectors early and keep existing state if directions are undefined r=padenot
Normalizing the AudioListener front orientation vectors before taking their
cross product avoids the possibility of overflow.

The panning effect and the azimuth and elevation calculation in the Web Audio
spec becomes undefined with linearly dependent listener vectors, so keep
existing state in these situations.

PannerNode orientation is normalized for consistency, but zero is permitted
for this vector because the sound cone algorithm in the Web Audio specifies
behavior for this case.

--HG--
extra : transplant_source : %DA%C7e%E7%90%14%AF%EA%08%94x%C1%A2g%F1%9A%EE%16%EB%29
2013-09-04 21:20:59 +12:00
Karl Tomlinson de80c0afe2 b=907986 avoid under and overflow in Normalize() r=padenot
--HG--
extra : transplant_source : %83%C5%A4%92%28%2Bf%7DHT%13%DE7L%26%B89x%E4%FF
2013-09-04 21:20:58 +12:00
Karl Tomlinson ce7c2ca91b b=907986 don't calculate upProjection twice r=padenot
--HG--
extra : transplant_source : %8E%E1r%9F%AC%EB%C6%9A%EE_%10%0F%B9%1D%EF%85%EBu%CD%96
2013-09-04 21:20:58 +12:00
Karl Tomlinson 21298924c4 crashtests for bug 907986
--HG--
extra : transplant_source : %1A%09%7D%14MM%B2_p%2B%27%C4M%C3%A2%83%F3C%C4%DC
2013-09-04 21:10:32 +12:00
Karl Tomlinson cac20eed1e 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 e06d8f88fa 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 c61a331c05 Bug 904926. Remove unnecessary lock. r=cpearce
--HG--
extra : rebase_source : 0088907b65ff3ce2e1f15b2bb1b5e0cdb7126f24
2013-09-04 23:13:06 +12:00
Matthew Gregan 4113c357f9 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 6fc72a6e69 Bug 911052 - Use decoder's IsDataCachedToEndOfResource instead of resource's version. r=cpearce 2013-09-04 15:08:10 +12:00
Andrew McCreight 01af9297c7 Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv 2013-08-16 13:10:17 -07:00
Paul Adenot b946c945f0 b=907986 part 3 fold-in 1 remove normalize of unit vector r=padenot 2013-09-03 10:52:55 +02:00
Chris Double b034b6ad42 Bug 888816 - Log android device information before checking for stagefright blocklist - r=edwin 2013-09-03 14:37:51 +12:00
Chris Double 764d7011b2 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 4ab6b138ac 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 39e8fc1974 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 ce68442554 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 1cd118ed64 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 c3a1633528 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 01c70c8c97 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 55eab97847 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 7033c0ead7 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 3d44e73505 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