40496 Commits

Author SHA1 Message Date
Holger Fuhrmannek ext:(%20and%20Paul%20Adenot%20%3Cpaul%40paul.cx%3E)
63ad946e5b test for bug 1012609 r=karlt
--HG--
extra : rebase_source : b0ee860f5da05b6af0bcfa797d5b470664775d74
2015-07-27 17:27:19 +12:00
Alastor Wu
9aaea1f8dd Bug 1187195 - Remove all agents with null window. r=baku 2015-07-24 12:29:26 +08:00
Alexandre Lissy
4bf7163f65 Bug 1187419 - Make sure SettingsRequestManager is only loaded in parent. r=gwagner 2015-07-24 12:32:00 +02:00
Karl Tomlinson
a6cc0725e8 bug 1186781 skip reallocation when audio block is not shared r=padenot
--HG--
extra : rebase_source : d470e7d14716606bf97b06be05637441b4d2a9ef
2015-07-22 18:51:11 +12:00
Karl Tomlinson
639872f1ff bug 1186779 use ChannelFloatsForWrite() instead of const_cast r=padenot
--HG--
extra : rebase_source : 324b2fbf4addbac848b7a74b048d67ba7c461b0c
2015-07-22 17:59:21 +12:00
Karl Tomlinson
63508ac5a4 bug 1186779 add a method to cast AudioChunk data for writing when not shared r=padenot
--HG--
extra : rebase_source : 3c86cdf69877e4e13a2e7b3c208c2ccb3107390f
2015-07-22 18:43:30 +12:00
Karl Tomlinson
e33037127f bug 1184801 process AnalyserNode input only when required r=padenot
This moves the application of volume and averaging of channels to the main
thread, performed when required.  It avoids a potential allocation on the
graph thread.  If doing a full analysis for frequency data, the extra work on
the main thread should be negligible.  I assume that repeatedly fetching the
same time domain data with getFloatFrequencyData() is not something we need to
optimize for.  If, in rare circumstances, the extra main thread work turns out
to be significant, then the main thread work in getters is self-regulating,
but too much load on the graph thread leads to catastrophic failure in the
audio.

This also fixes some bugs:

Input and output streams for other consumers are not corrupted by in-place
scaling of data intended to be read-only.

When there are additional channels and fftSize < WEBAUDIO_BLOCK_SIZE, the
channels are not written past the current length of a buffer, so there is no
longer a dependency on nsTArray's behavior of never not reducing allocation
size on length changes.

The most recent fftSize samples are now used even when fftSize <
WEBAUDIO_BLOCK_SIZE, instead of the first fftSize samples in the most recent
block.

Enough time domain data is recorded so that getters will work immediately
following a change in fftSize.

--HG--
extra : rebase_source : bbd8a3e705d73781bb838a47261bf7d60cd1a9a7
2015-07-22 19:50:37 +12:00
Ryan VanderMeulen
df74affd0b Merge m-c to inbound. a=merge 2015-07-27 12:12:56 -04:00
Ryan VanderMeulen
7941dfa396 Merge m-c to b2g-inbound. a=merge 2015-07-27 10:43:09 -04:00
Ryan VanderMeulen
4302b6dc18 Merge b2g-inbound to m-c. a=merge 2015-07-27 10:32:33 -04:00
Thomas Zimmermann
f378aed204 Bug 1187230: Remove obsolete Bluetooth daemon runnables, r=shuang 2015-07-27 13:33:18 +02:00
Thomas Zimmermann
d360346df2 Bug 1187230: Convert Bluetooth to use daemon runnables, r=shuang
With this patch, Bluetooth uses the generic daemon runnables.
2015-07-27 13:33:17 +02:00
Carsten "Tomcat" Book
c6c40b4b8f Backed out changeset d9ad5b9c6324 (bug 1185972) for timeouts on 10.6 in test_SeekNoData_mp4.html 2015-07-27 13:15:43 +02:00
Lee Salzman
193d5b3848 Bug 1186689 - check for OOM on destination array before mapping source to avoid needing unmap. r=bas 2015-07-23 11:39:22 -04:00
Ben Tian
ec7a3fd8bc Bug 1181827 - [Aries-L] Store remote device address and name mapping for pairing, r=shuang 2015-07-22 10:23:45 +08:00
Wes Kocher
c835884065 Merge b2ginbound to central, a=merge 2015-07-24 13:47:05 -07:00
Carsten "Tomcat" Book
2b73aa4f63 Backed out 14 changesets (bug 1156472) for bustage on a CLOSED TREE
Backed out changeset 2ddbf85a42c0 (bug 1156472)
Backed out changeset 306d02e17081 (bug 1156472)
Backed out changeset 03598139f39a (bug 1156472)
Backed out changeset 4b1e6069b598 (bug 1156472)
Backed out changeset 6c588a5eaaec (bug 1156472)
Backed out changeset 8c98d7beaea7 (bug 1156472)
Backed out changeset fbf59fbb5875 (bug 1156472)
Backed out changeset 66479dd9eed9 (bug 1156472)
Backed out changeset c8502deeed33 (bug 1156472)
Backed out changeset 1a60ff1149a1 (bug 1156472)
Backed out changeset af1638279785 (bug 1156472)
Backed out changeset 8210276a98ca (bug 1156472)
Backed out changeset 13730e7c5997 (bug 1156472)
Backed out changeset 05acb71cf981 (bug 1156472)
2015-07-24 17:08:37 +02:00
Carsten "Tomcat" Book
e1cb5ab587 Backed out changeset 6df9cef6b3ed (bug 1129882) for GU failures on a CLOSED TREE 2015-07-24 16:35:17 +02:00
Carsten "Tomcat" Book
1225980bea Backed out changeset c17987dfa969 (bug 1129882) 2015-07-24 16:30:31 +02:00
Carsten "Tomcat" Book
7cdb62ba5f Backed out changeset 3620404c8725 (bug 1129882) 2015-07-24 16:30:26 +02:00
Carsten "Tomcat" Book
bfa6c9a51b Backed out changeset 83cd70d2b0bb (bug 1187230) 2015-07-24 15:42:08 +02:00
Carsten "Tomcat" Book
46e8760390 Backed out changeset fffe2fc4b8ab (bug 1187230) 2015-07-24 15:42:02 +02:00
Thomas Zimmermann
abca31827c Bug 1187230: Remove obsolete Bluetooth daemon runnables, r=shuang 2015-07-24 14:50:06 +02:00
Thomas Zimmermann
1c60aeafa6 Bug 1187230: Convert Bluetooth to use daemon runnables, r=shuang
With this patch, Bluetooth uses the generic daemon runnables.
2015-07-24 14:50:06 +02:00
Paul Adenot
69bf340380 Bug 1156472 - Part 14 - Null check the window, because it can be different during the window's shutdown. r=baku
In which case everything is cleaned up properly by the HTMLMediaElement themselves.
2015-07-24 14:28:17 +02:00
Paul Adenot
90a222f71a Bug 1156472 - Part 13 - Make necessary adjustments for integer audio. r=jesup 2015-07-24 14:28:17 +02:00
Paul Adenot
67ca74db0b Bug 1156472 - Part 12 - Allow to pipe the AudioCaptureStream into an AudioContext. r=mt,roc 2015-07-24 14:28:17 +02:00
Paul Adenot
7872410708 Bug 1156472 - Part 11 - Unbitrot MediaManager.cpp over jib's changes. r=jib 2015-07-24 14:28:17 +02:00
Paul Adenot
e45365d260 Bug 1156472 - Part 10 - Test AudioCaptureStream. r=pehrsons 2015-07-24 14:28:17 +02:00
Paul Adenot
5ed058488a Bug 1156472 - Part 8 - Use fatal asserts in AudioChannelUpmix, because it would have crashed anyways. r=roc 2015-07-24 14:28:17 +02:00
Paul Adenot
27a91916bf Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang 2015-07-24 14:28:17 +02:00
Paul Adenot
c1a9ba0ab9 Bug 1156472 - Part 6 - Connect HTMLMediaElement and AudioContext to the capture stream when capturing is needed. r=roc 2015-07-24 14:28:17 +02:00
Paul Adenot
e1e882cb56 Bug 1156472 - Part 5 - Add MediaEngineWebRTCAudioCaptureSource as a new audio source, and "audioCapture" as a new MediaSource. r=jesup,bz 2015-07-24 14:28:16 +02:00
Paul Adenot
4bc48d0134 Bug 1156472 - Part 4 - Add a new MediaStreamGraph API to connect a MediaStream to a capture stream. r=jesup,roc 2015-07-24 14:28:16 +02:00
Paul Adenot
4eb22368c8 Bug 1156472 - Part 3 - Implement AudioCaptureStream. r=roc
It is a ProcessMediaStream that simply mixes its inputs into a mono stream,
up/down mixing appropriately.
2015-07-24 14:28:16 +02:00
Paul Adenot
f6609f50c3 Bug 1156472 - Part 2 - Rename MediaEngineWebRTCAudioSource to MediaEngineWebRTCMicrophoneSource. r=jesup
There are now two different possible audio source, so this was getting confusing.
2015-07-24 14:28:16 +02:00
Kyle
a33672182a Bug 1186111 - Implemented pack unpremultiply for 32f formats. r=jgilbert 2015-07-21 15:00:08 -04:00
Kyle
4f1a983170 Bug 1186111 - Implemented pack unpremultiply for 16f formats. r=jgilbert 2015-07-21 14:37:32 -04:00
Karl Tomlinson
1d1c742d3b bug 1184801 crashtest for AnalyserNode with channels and small fftSize
--HG--
extra : rebase_source : 6a85e33b768c37df44cc7eb3229fc716b3d11d10
2015-07-21 15:21:38 +12:00
Ting-Yu Lin
3698f6f915 Bug 1172382 - Disable AccessibleCaret on some tests. r=roc
All the tests disabled for AccessibleCaret had already being disabled
for either TouchCaret or SelectionCarets.
2015-07-27 03:00:00 -04:00
Karl Tomlinson
15660ce0a3 bug 1184801 Test effect of AnalyserNode on GainNode output
--HG--
extra : rebase_source : 76315743a411d75937dfa85ecfaddce66864bd87
2015-07-17 13:24:54 +12:00
Francois Marier
5556697f0b Bug 1187711 - Enable -Wshadow in DOM::Security. r=ckerschb 2015-07-27 16:14:56 -07:00
Wes Kocher
32bf37f626 Merge m-c to inbound, a=merge CLOSED TREE 2015-07-27 15:45:44 -07:00
Andrew McCreight
cdb6b84dc1 Bug 1089816 - use && not and. CLOSED TREE 2015-07-27 14:01:05 -07:00
Ryan VanderMeulen
604f7429c0 Merge m-c to inbound. a=merge 2015-07-27 15:52:11 -04:00
Andrew McCreight
ef6d1e9493 Bug 1089816 - Let ASan content processes run to completion. r=billm
There are a variety of ways that the parent and child process ensure that
the child process exits quickly in opt builds, but for AddressSanitizer
builds we want to let the child process to run to completion, so that we
can get a LeakSanitizer report.

This requires adding some addition LSan suppressions, because running
LSan in child processes detects some new leaks.
2015-07-27 12:49:48 -07:00
Ryan VanderMeulen
23b78d739f Merge m-c to inbound. a=merge 2015-07-27 15:47:22 -04:00
Jeff Gilbert
c047687d8f Bug 1187174 - Use 'webgl2' not 'experimental-webgl2'. - r=kamidphish 2015-07-27 12:10:17 -07:00
Anup Kumar
1e19a034c9 Bug 1171941 - Removed an incorrect URL prefix from fetch_tests.js. r=jdm 2015-07-25 08:44:00 +02:00
Samael Wang
3317c328f3 Bug 1043250 - Part 5: Update marionette test cases. r=btseng
test_set_smsc_address / test_smsc_address:
- Update the test cases to reflect the interface change.
2015-07-14 14:57:57 +08:00