Paul Adenot
b4ee1e68de
Bug 881959 - Handle self-connection. r=ehsan
...
--HG--
extra : rebase_source : f2d4a0a28cb85668f80c58d1a56926f65ea40e72
2013-09-16 17:37:27 +02:00
Paul Adenot
14628109ab
Bug 881959 - Clamp the DelayNode.delayTime to 128/AudioContext.sampleRate when in a cycle. r=ehsan
...
--HG--
extra : rebase_source : 7cf8945371bb6ff169ad61a8ccdda0ece36b5e83
2013-09-02 15:15:24 +02:00
Paul Adenot
7fb6ee6768
Bug 881959 - Tests for cycles in WebAudio graphs. r=ehsan
...
--HG--
extra : rebase_source : 5366c6aa0bb59f14adee74a3088488f9b15b52b1
2013-09-02 15:14:51 +02:00
Ehsan Akhgari
fae6b888e6
Bug 881959 - Tell the MediaStreamGraph when changes to the graph occur. r=roc
...
--HG--
extra : rebase_source : f5c0021e35fa0b66cc45434b5d23742ff3cc3019
2013-09-13 18:12:07 +02:00
Paul Adenot
7c95321d67
Bug 881959 - Mute WebAudio nodes that are part of a cycle that contains no DelayNode, and make cycles work. r=ehsan
...
--HG--
extra : rebase_source : d4bc378128cf15f8d8395b45b4443ca6b06c5bd2
2013-08-26 19:19:36 +02:00
Chris Pearce
ede5d5a39d
Bug 916836 - Handle jumps off the end of the buffer in MP3FrameParser. r=padenot
2013-09-19 16:10:43 +12:00
Wes Kocher
508c0eaa0a
Backed out changeset 554bfe767519 (bug 913847) for leaking on a CLOSED TREE
2013-09-18 17:21:02 -07:00
Wes Kocher
0ef93db36c
Backed out changeset 040522aacba4 (bug 913847)
2013-09-18 17:18:56 -07:00
Karl Tomlinson
078c7bc257
b=917260 null check mDestination in AudioContext::Shutdown() r=ehsan
...
This handles the case where Shutdown() is called after Unlink()
(but before the destructor).
--HG--
extra : transplant_source : %97A%BE%60%F5j%F5%F0GT%C2%B6%F8%A2%BD%13%2B%02%83R
2013-09-19 12:04:13 +12:00
Paul Adenot
611d691e3a
Bug 917260 - Nullcheck Destination() in AudioContext::DestinationStream. r=ehsan
2013-09-17 15:23:52 +02:00
Benoit Jacob
6560634fb1
Bug 913847 - Include MainThreadUtils.h instead of nsThreadUtils.h - r=ehsan
2013-09-18 18:50:32 -04:00
Benoit Jacob
5bf87f575b
Bug 913847 - stop needlessly including nsThreadUtils.h - r=ehsan
2013-09-18 18:50:32 -04:00
Randell Jesup
f1dc6db9a7
Bug 886052: Turn on audio webrtc_trace logs for getUserMedia r=gcp
2013-09-18 17:12:38 -04:00
Ralph Giles
fcdbb897d4
Backed out changeset f56acf83688c (bug 895091) r=bustage CLOSED TREE
2013-09-18 13:47:43 -07:00
Ralph Giles
3da8f547a2
Backed out changeset e110a9187bb1 (bug 895091)
...
--HG--
rename : content/media/WebVTTListener.cpp => content/media/WebVTTLoadListener.cpp
rename : content/media/WebVTTListener.h => content/media/WebVTTLoadListener.h
2013-09-18 13:47:07 -07:00
Ralph Giles
4ef7a14aef
Backed out changeset 330a415e7723 (bug 895091)
2013-09-18 13:47:05 -07:00
Ralph Giles
057477b632
Backed out changeset feca3867b395 (bug 895091)
2013-09-18 13:47:04 -07:00
Ralph Giles
98a46c2b26
Back out 813a35c5b24a for ASan failure. r=bustage CLOSED TREE
...
Only one test is failing (so far) and the feature itself is
behind a pref, so this doesn't affect users.
2013-09-18 13:31:40 -07:00
Rick Eyre
1c35b391bd
Bug 895091 - Test for multiple WebVTT files loading at once r=khuey
2013-09-10 07:13:00 -07:00
Rick Eyre
aea38bd863
Bug 895091 - Turn text track cue tests back on r=rillian
2013-09-05 07:57:00 -07:00
Rick Eyre
966126401b
Bug 895091 - Add JS WebVTT parser code in (vtt.js) r=rillian, ted, gwagner, khuey
...
- Current source code for vtt.js can be found at:
https://github.com/andreasgal/vtt.js
- vtt.js code taken from commit 6bca57d265fc58cff091148b426ec69f576057d7.
2013-09-17 12:31:00 -07:00
Rick Eyre
2c50da9c5e
Bug 895091 - Add WebVTT parser and wrapper IDLs r=rillian, ted, gwagner, khuey
...
- Added vtt.js, a JS WebVTT parser, to Gecko.
- Added a wrapper to interface between it and Gecko.
- Updated TextTrackCue and WebVTTListener to work with it.
--HG--
rename : content/media/WebVTTLoadListener.cpp => content/media/WebVTTListener.cpp
rename : content/media/WebVTTLoadListener.h => content/media/WebVTTListener.h
2013-09-10 06:59:00 -07:00
Rick Eyre
b3ba92341d
Bug 895091 - Remove references to C WebVTT parser and unused code r=rillian
...
- Remove left over references to WebVTT C parser in TextTrackCue and
WebVTTListener classes.
- Remove miscellaneous unused code as well and included libraries as
well.
2013-09-10 06:53:00 -07:00
Trevor Saunders
d3b7eeaa09
bug 915566 - rm another makefile in content/ r=mshal
2013-09-12 07:14:42 -04:00
Trevor Saunders
6957ef1b01
bug 915566 - rm Makefiles in content/ r=ted
2013-09-12 03:52:58 -04:00
Ralph Giles
f574450bd6
Bug 865256 - Part 4: Implement custom waveforms. r=ehsan,padenot
...
Copy the periodicWave data into a shareable buffer.
Add a SetBuffer call to send the buffer data to the
OscillatorNodeEngine. Call into blink's PeriodicWave
implementation to generate bandlimited tables bracketing
the desired frequency and interpolate the output data
from them.
Change the PeriodicWave constructor to only take one
length, since both arrays must be the same size.
Change OscillatorNode's SetType to throw INVALID_STATE
instead of NOT_IMPLEMENTED if js tries to assign
type = 'custom' directly.
2013-08-28 15:39:26 -07:00
Ralph Giles
d120591c10
Bug 865256 - Part 3d: Port blink's PeriodicWave to gecko. r=ehsan
...
Changes to use gecko infrastructure.
2013-09-10 14:33:03 -07:00
Ralph Giles
fd839881f9
Bug 865256 - Part 3c: Import blink's PeriodicWave. r=ehsan
...
From 3807300c75ae70f004b76cbce023e59a0367e09b Mon Sep 17 00:00:00 2001
This is the original code from blink svn trunk r157670 for reference.
This commit has no porting or build support, to make subsequent changes
easier to identify.
2013-09-10 14:29:51 -07:00
Ralph Giles
3006203577
Bug 865256 - Part 3b: Add a complex->real ifft to FFTBlock. r=ehsan
...
From ea43bceaf8f6dd2c44d7f55a45f770be19b335a5 Mon Sep 17 00:00:00 2001
Currently FFTBlock only holds the complex frequency domain data
internally, reading and writing to external time domain data
buffers. For PeriodicWave we need to create a real, time domain
signal from real and imaginary frequency domain data. This method
does this without touching the internal output buffer at all.
FFTBlock is just used as a wrapper for kiss_fft_cfg.
2013-09-10 11:00:17 -07:00
Ralph Giles
0713177406
Bug 865256 - Part 3a: Add AudioBufferPeakValue utility. r=ehsan
...
From 6c057c02970c79d620527d08bc3755491c99b1d3 Mon Sep 17 00:00:00 2001
This is an equivalent, C-only implementation of blink's
VectorMath::maxmgv or Apple's vDSP_maxmgv. It finds the
maximum absolute value of the elements in a float buffer.
Used by blink's PeriodicWave implementation for normalization.
2013-09-10 10:54:17 -07:00
Paul Adenot
8f5abfa81f
Bug 908669 - Use band-limited impulse trains (BLIT) for OscillatorNode. r=rillian
...
This fixes the aliasing noise in the default oscillator types.
2013-09-17 10:36:00 -07:00
Chris Pearce
7fb506d1f8
Bug 915957 - Move MediaDecoder::NotifyBytesConsumed() calls into MediaResource, so we don't need to remember to do them in all decoder backends. r=kinetik
2013-09-18 15:37:23 +12:00
Karl Tomlinson
55c4867ce7
b=916680 don't keep active AudioNodes alive from an AudioContext that has shut down r=ehsan
...
--HG--
extra : transplant_source : %20%3Fl%E0%D7R%7B_%E6%B0%C7%BB%3A%E7%21%9D%F1%A2%F4%1C
2013-09-18 13:10:30 +12:00
Karl Tomlinson
9a843336e3
b=910171 register tail references with the AudioContext so they can be removed when the rendering is complete r=ehsan
...
--HG--
extra : transplant_source : %8C%C3%C2%2B%1B%E9Q%9B%0E%DE%B4%AA%02%B2%D1%A0S%F1%EC%0D
2013-09-17 11:54:52 +12:00
Karl Tomlinson
608b070c45
b=910171 add a general means to keep active nodes alive from the AudioContext r=ehsan
...
AudioNodes that keep playing or tail-time references need to have these
references cleared when an AudioContext has completed or is shut down by the
window.
Storing references on the AudioContext instead of on the AudioNodes will allow
the AudioContext to report playing references to the cycle collector until
offline rendering starts for bug 914033. This is not necessary for tail-time
references, but it is tidier to use the same code for playing and tail-time
references.
--HG--
extra : transplant_source : %E0%F1%06%BFV%B6XI%9BX%8E%8D7%3FsU%8F%F9%14r
2013-09-17 11:53:40 +12:00
Karl Tomlinson
f0f3cd0ecb
b=916422 make OfflineAudioContext::StartRendering() throw if called more than once r=ehsan
...
--HG--
extra : transplant_source : %B6T%C0C%F0/%03%A3C%25%9B%EF%A8%C41%8E%86%E9%FCr
2013-09-16 17:14:45 +12:00
Paul Adenot
5d34d71eef
Bug 916773 - Initialize mLatency in SharedBuffer's constructor. r=ehsan
2013-09-16 17:37:26 +02:00
Marcus Saad
2276d0a676
Bug 903425 - Update TextTrackCue::Vertical to be a DirectionSetting enum. r=rillian
...
Following up with the changes made in http://dev.w3.org/html5/webvtt/#dfn-dom-vttcue-vertical , this patch comes to create a new enum to validate and control the possible values for TextTrackCue::Vertical. Throwing behavior was removed for spec conformance.
2013-09-12 11:07:14 -03:00
Ehsan Akhgari
ef3770d249
Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky
2013-09-17 12:49:07 -04:00
Eitan Isaacson
f03f348ad5
Bug 904687 - Introduce Svox Pico speech synthesis service. r=smaug f=gps
...
- moz.build updates.
- Use nsISupports thread-safe decleration macros.
- Also with PicoVoice, changed to thread-safe add/remove ref macro. We are now creating them off main thread.
- Do initialization off main thread, but go back to main thread to register the voices.
2013-09-17 09:40:07 -07:00
Ed Morley
a3ff7956ba
Backed out changeset 9524b1df278e (bug 908669)
2013-09-17 17:14:58 +01:00
Ed Morley
6a8bde5bc5
Backed out changeset fb89f2090779 (bug 881959)
2013-09-17 17:14:55 +01:00
Ed Morley
f2619af990
Backed out changeset fe576415129e (bug 881959)
2013-09-17 17:14:52 +01:00
Ed Morley
845ddef04c
Backed out changeset 5e5d5e42f6c2 (bug 881959)
2013-09-17 17:14:49 +01:00
Ed Morley
fc3dc2a135
Backed out changeset b221626331b4 (bug 881959)
2013-09-17 17:14:45 +01:00
Ed Morley
14cbc2101a
Backed out changeset 2aa38a1a2b06 (bug 881959)
2013-09-17 17:14:42 +01:00
Ed Morley
1b19fad168
Backed out changeset 3d2aac8dc618 (bug 916773)
2013-09-17 17:14:39 +01:00
Ed Morley
b566ba4f8e
Backed out changeset ade49a801461 (bug 881959)
2013-09-17 17:14:36 +01:00
Ed Morley
6013f526dd
Backed out changeset 4323508b3412 (bug 917260)
2013-09-17 17:14:33 +01:00
Ed Morley
8ff05e11a4
Backed out changeset 924b0619e616 (bug 881959)
2013-09-17 17:14:29 +01:00
Ed Morley
5ec4d375ee
Backed out changeset 7d17f2d129e3 (bug 881959)
2013-09-17 17:14:26 +01:00
Paul Adenot
35cd2c5606
Bug 881959 - Fix inbound bustage on XP again, on a CLOSED TREE.
2013-09-17 17:25:33 +02:00
Paul Adenot
136940c8bc
Bug 881959 - Fix inbound bustage on XP.
2013-09-17 16:25:13 +02:00
Paul Adenot
06ee843621
Bug 917260 - Nullcheck Destination() in AudioContext::DestinationStream. r=ehsan
...
--HG--
extra : rebase_source : daec86b27d8497ba109ca998f0fccf3d6d7c3677
2013-09-17 15:23:52 +02:00
Paul Adenot
d4d8b9bcb9
Bug 881959 - Handle self-connection. r=ehsan
...
--HG--
extra : rebase_source : 02ef02b921df39dcb647096a10a1fa4e85161c70
2013-09-16 17:37:27 +02:00
Paul Adenot
eeb99d293f
Bug 916773 - Initialize mLatency in SharedBuffer's constructor. r=ehsan
...
--HG--
extra : rebase_source : a40fb148498981c1a65a5cd9756201b90d8d98a4
2013-09-16 17:37:26 +02:00
Paul Adenot
65b02e466e
Bug 881959 - Clamp the DelayNode.delayTime to 128/AudioContext.sampleRate when in a cycle. r=ehsan
...
--HG--
extra : rebase_source : 5282e468fbe411a455f65bc0d22b16163db4bd7a
2013-09-02 15:15:24 +02:00
Paul Adenot
a4656230f2
Bug 881959 - Tests for cycles in WebAudio graphs. r=ehsan
...
--HG--
extra : rebase_source : 6673c86a52952d05e3fdf60205250379ad27d82f
2013-09-02 15:14:51 +02:00
Paul Adenot
d6d78f2064
Bug 881959 - Warn the author when a cycle in a WebAudio graph does not contain a DelayNode. r=ehsan
...
--HG--
extra : rebase_source : 9383abcce03d0f70208983c22eef051b84560f08
2013-09-13 18:13:37 +02:00
Ehsan Akhgari
e5c162769f
Bug 881959 - Tell the MediaStreamGraph when changes to the graph occur. r=roc
...
--HG--
extra : rebase_source : b71feb43da4f1f86e251dce73f87864af24b61c0
2013-09-13 18:12:07 +02:00
Paul Adenot
f4a229fbf9
Bug 881959 - Mute WebAudio nodes that are part of a cycle that contains no DelayNode, and make cycles work. r=ehsan
...
--HG--
extra : rebase_source : a92e90a2fb08f784d3a1b7d0701a5dd20595c4ef
2013-08-26 19:19:36 +02:00
Paul Adenot
56edbaaf01
Bug 908669 - Use band-limited impulse trains (BLIT) for OscillatorNode. r=rillian
...
--HG--
extra : rebase_source : c786c507b48a1fcdd49e7c14482d621a463f6c9c
2013-09-16 16:48:33 +02:00
Robert Longson
5fcefee60d
Bug 785140 - Correct SVG whitespace handling in various spots. r=smaug,dholbert
2013-09-17 13:52:39 +01:00
Ehsan Akhgari
e33789d856
Bug 915524 - Implement AudioBuffer.copyFromChannel and AudioBuffer.copyToChannel; r=roc
2013-09-17 07:30:32 -04:00
Rick Eyre
7141a09f73
Bug 883173 - Part 3: Implement TextTrack::ActiveCues. r=cpearce, r=rillian
...
- Active cues now returns the subset of cues in mCueList that are valid
for the current playback time.
- Introduces new code in media element, when seeking, and in TextTrack, when
adding and removing cues, to mark the active cue list as dirty so that we know
when we might need to rebuild the list completely.
2013-06-14 16:10:36 -04:00
Rick Eyre
cc4dfddc6f
Bug 883173 - Part 2: Add insertion sorting for TextTrackCueList::AddCue. r=rillian
...
- We expect most files to already be sorted, so an insertion sort starting from
the end of the current array should be more efficient than a general sort step
after all cues are loaded
- Added a test for insertion sorting as well.
2013-06-18 13:52:10 -04:00
Rick Eyre
3fbbbdfcda
Bug 883173 - Part 1: Rename parameter in TextTrackCue::RemoveCue and AddCue. r=rillian
2013-06-14 15:08:17 -04:00
Ryan VanderMeulen
f7fe44df44
Backed out changeset b83bf0fa7adc (bug 924724)
2013-10-14 23:26:53 -04:00
Randy Lin
841f61c5ef
Bug 924724 - Shutdown hang in Media Encoder when running state machine mochitest. r=roc
2013-10-14 12:34:48 +08:00
Paul Adenot
7a97c91578
Bug 904617: Part 3 - Log latency, and adds a python script to understand the log r=padenot,jesup,ehugg
2013-01-28 19:22:37 +01:00
Paul Adenot
d8cc1467bd
Bug 904617: Part 2 - Expose Audio Stream Latency r=padenot,jesup
2013-09-17 02:39:30 -04:00
Ed Morley
a8ecbf9270
Backed out changeset 9cc6dd50c93a (bug 904617)
2013-09-16 08:43:56 +01:00
Ed Morley
504f2b3fae
Backed out changeset 81cee5ae7973 (bug 904617)
2013-09-16 08:43:47 +01:00
Paul Adenot
ea33beeb7a
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
b435bed8ae
Bug 904617: Part 2 - Expose Audio Stream Latency r=padenot,jesup
2013-09-16 03:26:04 -04:00
Randell Jesup
b9b7fe21d3
Bug 882145: reland changesets bc4ee7cbd7bd and cf373e408a6b r=bz
2013-09-16 02:34:57 -04:00
Ryan VanderMeulen
f1c45fb9f7
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
251d4428cf
Bug 882145: gUM constraints converted to webidl + gUMDevices() takes constraints. r=bz r=jesup
2013-09-14 00:48:39 -04:00
Edwin Flores
6be9a829f9
Bug 914479 - Improve MP3FrameParser duration estimation r=padenot
2013-09-14 13:14:42 +12:00
Edwin Flores
05d42ab025
Bug 914479 - AudioToolbox MP3 backend on OSX r=cpearce
2013-09-14 13:14:42 +12:00
Edwin Flores
607a10b548
Bug 914479 - Build changes for AudioToolbox MP3 backend on OSX r=khuey
2013-09-14 13:14:41 +12:00
Andrew Quartey
7f837c041a
Bug 897504 - Implement region API for Gecko. r=giles, khuey
2013-09-13 19:44:33 -04:00
Chris Pearce
6745dba042
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
ffcffb51c7
Merge mozilla-central and b2g-inbound
2013-09-12 12:09:58 +01:00
Sotaro Ikeda
6d1f3b58c5
Bug 871364 - Support GonkNativeWindow on gonk-JB r=jmuizelaar,mwu,doublec,mikeh,glandium
2013-09-12 11:40:26 +02:00
Karl Tomlinson
5751aaa536
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
91b88fa3bd
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
7f81f91b49
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
7a48a1f657
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
e2e8e5cdd4
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
3609f6d2d3
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
7b39d8a51c
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
54ae7bf864
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
9d1d4e73b0
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
58ff647f46
Bug 914567 - Cannot build directshow code by VS2013RC. r=cpearce
2013-09-11 10:35:03 +09:00
Olli Pettay
9a59871760
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
0bb00facd4
Bug 902145 - Ignore all speech events while aborting. r=smaug
2013-09-10 13:12:54 -04:00
Guilherme Gonçalves
d974d4492e
Bug 902145 - Remove priority events, which were unused. r=smaug
2013-09-10 13:12:54 -04:00
Ms2ger
d26571cff4
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
1c16df3e56
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
3f997d4ad6
Merge mozilla-central and b2g-inbound
2013-09-09 13:30:32 +01:00
Chris Pearce
91273541bb
Bug 910966 - Bustage fix for 48a66737dc5c. Forgot to qref. r=bustage.
2013-09-09 09:52:20 +12:00
Chris Pearce
ddd2cfddd7
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
82fc0dde57
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
4353dde6ad
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
bd8899eab6
Bug 913603 - Avoid needlessly including nsRect.h - r=jrmuizel
2013-09-06 22:15:49 -04:00
Chris Pearce
35eb41eb07
Bug 910897 - Use MP3FrameParser in DirectShow in order to calculate the duration. r=padenot
2013-09-10 12:45:33 +12:00
Edwin Flores
39590db101
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
f02993faff
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
cc215bb11d
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
b244547589
Merge inbound to m-c.
2013-09-06 20:55:41 -04:00
Ehsan Akhgari
36280b9569
Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley
2013-09-06 13:50:24 -04:00
Ed Morley
aff8240bf6
Merge mozilla-central and b2g-inbound
2013-09-06 16:24:22 +01:00
Shih-Chiang Chien
bfa6d4226f
Bug 912960 - Use nsString for mDeviceName and mUniqueId. r=rjesup
2013-09-06 09:14:15 -04:00
Ms2ger
2ca21d1a9c
Bug 909003 - Part e: Remove some includes from SpeechGrammarList.h; r=bz
2013-09-06 08:43:19 +02:00
Ms2ger
7a4aac7117
No bug - Remove a stray semicolon
2013-09-06 08:41:34 +02:00
Ehsan Akhgari
92ad73ef93
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
4abf38566a
Merge m-c to inbound.
2013-09-06 12:31:58 +02:00
Matthew Gregan
62b428d5f9
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
3a7ae1de35
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
dd810a473b
Bug 752796 - Stop MediaDecoderStateMachine::SendStreamData from trying to A/V sync unnecessarily r=roc
2013-09-06 15:14:48 +12:00
Edwin Flores
0101780c06
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
9219a5fbd2
Bug 912980 - Don't use VPATH in content/media/webspeech/recognition. r=gps
2013-09-06 09:22:09 +09:00
Mike Hommey
8808e9970f
Bug 912862 - Cleanup some wrong assignments in moz.build. r=ted
2013-09-06 09:19:08 +09:00
Ehsan Akhgari
143454cc1a
Bug 912702 - Minimize the #includes in content/media; r=roc
2013-09-05 16:25:17 -04:00
Ehsan Akhgari
be1e68caf3
Bug 912702 - Minimize the #includes in content/media; r=roc
2013-09-04 17:58:14 -04:00
Steven Lee
3893487dbe
Bug 902856 - Generate fake audio data in MediaEngineDefaultAudioSource. r=jesup, r=derf
2013-09-05 08:34:49 -04:00
Robert O'Callahan
33cdb42706
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
ad36ee41a9
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
43ad5b4dcf
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
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Karl Tomlinson
e1e0a17c5b
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
949c11371d
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
4a187db18b
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
04ac113d63
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
9bea792d2f
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
6f9d0ccd43
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
077bb360ad
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
532024ea75
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
e43bef2026
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
48a1b73523
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
dde1cff092
revert 3171b6ad0055 b=907986
...
--HG--
extra : transplant_source : K%83%1FS%27%A7%20%82%C4P%08%E5n%8C%830%B6%2C%24%97
2013-09-04 15:02:04 +12:00
Masatoshi Kimura
e2bd26bb53
Bug 911573 - Mochitest fixup to prepare removing Components-in-content with UniversalXPConnect. r=bholley
2013-09-05 01:02:34 +09:00
Robert O'Callahan
fdbaaa663c
Bug 904926. Remove unnecessary lock. r=cpearce
...
--HG--
extra : rebase_source : 0088907b65ff3ce2e1f15b2bb1b5e0cdb7126f24
2013-09-04 23:13:06 +12:00
Matthew Gregan
e80d2f2424
Bug 911059 - Move WebAudio's BufferDecoder to its own file so it can be shared with MSE. r=cpearce
2013-09-04 15:08:11 +12:00
Matthew Gregan
f1ff293106
Bug 911052 - Use decoder's IsDataCachedToEndOfResource instead of resource's version. r=cpearce
2013-09-04 15:08:10 +12:00
Andrew McCreight
4723c7c5e3
Bug 883920 - use templates for {Hold,Drop}JSObjects. r=peterv
2013-08-16 13:10:17 -07:00
Paul Adenot
8030d8a57b
b=907986 part 3 fold-in 1 remove normalize of unit vector r=padenot
2013-09-03 10:52:55 +02:00
Chris Double
cf15890513
Bug 888816 - Log android device information before checking for stagefright blocklist - r=edwin
2013-09-03 14:37:51 +12:00
Chris Double
e4a3c85df6
Bug 888786 - Part 1: Remove OMX media plugin workarounds for Sony ICS devices - r=edwin
2013-09-03 14:35:54 +12:00
Chris Double
4fd86a693e
Bug 812680 - Part 1: Remove OMX media plugin workarounds for HTC One X - r=edwin
2013-09-03 14:34:33 +12:00
Karl Tomlinson
115405f489
b=911777 disable test_delayNodeAtMax.html on Ubuntu(|64) opt builds
...
--HG--
extra : transplant_source : %27%3E%E7%B8%81%F6%AAg%A8%B0H%86%97%C5/V6%B8%FCh
2013-09-03 12:54:37 +12:00
Karl Tomlinson
88dbfffb29
use existing named constants b=890528
...
--HG--
extra : transplant_source : %C9%F5%23%A2%CC%D0%E5v%F4%7B%ED%93%0C%B6%D7%E3%CC%C5%B1%A1
2013-09-02 16:53:15 +12:00
Karl Tomlinson
761bd9f94a
remove unintentional ! in ed23ecc80370 to test expected buffer frame count when length is supplied b=890528
...
--HG--
extra : transplant_source : %BB%8E%A8%C2BBFr%A4D%28VG%84%2A%AE%A3qZ%81
2013-09-02 16:53:15 +12:00
Karl Tomlinson
b72d4ec1b9
test for bug 891254
...
--HG--
extra : transplant_source : %FE%D3%7F%0F%3Da%3A%D9u6Hx2%E22%15fn%14H
2013-09-02 16:52:15 +12:00
Nicholas Nethercote
191ed08f6a
Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
...
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
JW Wang
9e43d1f576
Bug 907303 - Use fewer local variables to workaround a bug in GCC 4.4.3. r=ehsan
2013-08-30 15:07:33 +08:00
Karl Tomlinson
0d8b5ff1f0
b=890528 Record silence in the delay buffer when there is no input, to avoid echos r=ehsan
...
--HG--
extra : transplant_source : x%A5%D0%A8%F9%7B%7DX%AA%C5%04%7E.%2C%B6%3A%EF%3F%08%5E
2013-09-02 12:59:34 +12:00
Karl Tomlinson
cc2f88a710
b=890528 delay buffer must be greater than max delay frames to avoid reading what has just been written r=ehsan
...
--HG--
extra : transplant_source : %86L%3C%C2%F0%A79%E4w%F6u%FD%11d%A9%FCu%F90%E8
2013-09-02 12:59:34 +12:00
Karl Tomlinson
32a9de7cae
test for bug 890528
...
--HG--
extra : transplant_source : B%22%1A%B5%E9%03%D1%A4%D9%20%F7%12%FA%09%10%14%A0%19x%BA
2013-09-02 12:59:31 +12:00
Karl Tomlinson
b7844721cf
b=890528 add more documentation and make length optional when createExpectedBuffers is present r=ehsan
...
--HG--
extra : transplant_source : R%7DJo%87%0C%0D%0FuX%C4%BC%C0%95%08b%5D%DA%D1%BF
2013-09-02 11:27:44 +12:00
Jason Smith
738da5cf84
Bug 903781 - Mochitest for recording media with timeslice for media recording api. r=roc
2013-08-29 09:56:12 -07:00
Ed Morley
2feab2b4d9
Merge latest green inbound changeset and mozilla-central
2013-08-30 17:23:11 +01:00
Randell Jesup
5946f2b5b2
Bug 901583: Reapply mozilla patches on top of webrtc.org 3.34, use NEON detection rs=jesup
...
--HG--
rename : media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.cc => media/webrtc/trunk/webrtc/modules/audio_device/audio_device_opensles.cc
rename : media/webrtc/trunk/webrtc/modules/audio_device/android/audio_device_opensles_android.h => media/webrtc/trunk/webrtc/modules/audio_device/audio_device_opensles.h
2013-08-30 02:08:57 -04:00
Chris Double
05e2fb80be
Bug 860599 - Use DataSource::CreateFromURI instead of MediaStreamSource - r=cpearce
...
--HG--
extra : rebase_source : da5a909d64ad903f86ad7fb76cb306252d8ccaad
2013-08-30 16:51:38 +12:00
Shelly Lin
4ef7a06953
Bug 899935 - Mochitest for stopping the recorder right after starting it. r=jsmith
2013-08-06 22:13:37 -07:00
Shelly Lin
2fff235d13
Bug 899935 - Produce zero-length output if calling Stop right after a Start call of MediaRecorder. r=roc
2013-08-29 19:59:08 +08:00
Paul Adenot
08fd7cd240
Bug 881092 - Test that we can decode multichannel WAVE file only when using decodeAudioData. r=ehsan
...
--HG--
extra : rebase_source : fe1cb35be9a1197b01a6c90654abd825f28a67e5
2013-08-29 11:44:05 +02:00
Paul Adenot
bacec95428
Bug 881092 - Allow decoding files we know we can't play, in the context of WebAudio. r=kinetik,rillian
...
--HG--
extra : rebase_source : ebad931aede2f8225404625e90a5f3228c4a31c0
2013-08-29 11:43:44 +02:00
Eitan Isaacson
893bf495ea
Bug 909240 - Add SpeechSynthesisUtterance to cycle collection. r=smaug
2013-08-29 14:24:53 +03:00
Rick Eyre
73c2f74ef5
Bug 868509 - Rename TextTrackCue to VTTCue r=rillian
...
This way we can ensure that JS code written for WebVTT is spec
compliant while at the same time not having to abstract VTTCue
from TextTrackCue.
--HG--
rename : dom/webidl/TextTrackCue.webidl => dom/webidl/VTTCue.webidl
2013-08-27 13:07:00 -07:00
Chris Pearce
cf122919c7
Bug 908862 - Strip ID3 tags before we expose MP3 data to DirectShow, to work around bugs in its MP3 decoder. r=padenot
2013-08-29 10:53:03 +12:00
Boris Zbarsky
51868f7e3f
Bug 909645 part 3. Make including SpeechRecognition.h and MediaManager.h not pull ipdl headers. r=ms2ger
2013-08-28 00:14:57 -04:00
Ehsan Akhgari
c89889cb25
Bug 898967 - Remove the unused StreamBuffer::mForgottenUpTo member; r=roc
...
--HG--
extra : rebase_source : ef259872ebe3e49dad71a1ca28788c0e8a6ed05f
2013-08-28 10:14:01 -04:00
Brian O'Keefe
4f68eb9b02
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Nicholas Nethercote
3e0ffbadf7
Bug 831193 (part 16) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in media/. r=kinetik.
...
--HG--
extra : rebase_source : 86c334ccef76af552b64317a08d1c4cb8c3804e3
2013-01-17 21:43:20 -08:00
Boris Zbarsky
a6ce34f2cf
Back out revisions 042d50591265:69f4af72765c (bug 909645) due to Windows bustage causing a CLOSED TREE.
2013-08-28 01:46:00 -04:00
Boris Zbarsky
62940aeef6
Bug 909645 part 3. Make including SpeechRecognition.h and MediaManager.h not pull ipdl headers. r=ms2ger
2013-08-28 00:14:57 -04:00
Randell Jesup
2365ec9687
Bug 909946: missing %s in LOG statement for webrtc_trace logging r=abr
2013-08-27 17:30:10 -04:00
Karl Tomlinson
ab3357052a
b=903270 remove default null initial event parameter from NS_NewNamedThread() call site r=doublec
...
--HG--
extra : transplant_source : b%B5%DF%BFTQ%DE%FE%DC%09l%21%ACzA%C7a%27%90%60
2013-08-27 12:39:24 +12:00
Ryan VanderMeulen
9fa9f53229
Merge inbound to m-c.
2013-08-26 20:19:26 -04:00
Sotaro Ikeda
92d4ca1287
Bug 905008 - Block bogus MetadataLoaded event. r=doublec
2013-08-26 12:11:58 -04:00
Paul Adenot
c8ef7c71b8
Bug 908144 - Don't output sound before start() is called when using OscilatorNode. r=ehsan
2013-08-26 11:46:33 +02:00
Wes Kocher
be6c9d6c51
Backed out 2 changesets (bug 909187)
...
Backed out changeset 79b1a4a62635 (bug 909187)
Backed out changeset 0601038e2a31 (bug 909187)
2013-08-26 02:29:55 -07:00
Randell Jesup
7762a0f6f0
Bug 909187: Part 2 - Allow DOM MediaStreams to intercept SetTrackEnabled calls r=roc
2013-08-26 02:07:19 -04:00
Randell Jesup
c0dd7b1862
Bug 909187: Part 1-Refactor MediaStreamTrack disabling so we can call it directly and access from other threads r=roc
2013-08-26 02:07:17 -04:00
Randell Jesup
58feac255e
Bug 884365: Deliver gUM data directly to PeerConnection to avoid delay buildup and resampling r=roc
2013-08-24 09:53:11 -04:00
Randell Jesup
1d408c2924
Bug 884365: Add method to return the amount of buffered data on a SourceMediaStream r=roc
2013-08-24 09:53:01 -04:00
Gabriele Svelto
c8251ce6f3
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Ms2ger
944d17423c
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
1d1671942d
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Kyle Huey
de0ee30e74
Bug 903772: Part 3 - Refactor GlobalObject. r=peterv
2013-08-22 22:17:08 -07:00
Ryan VanderMeulen
7726245c4e
Merge inbound to m-c.
2013-08-22 15:42:18 -04:00
Ryan VanderMeulen
b6c2717f87
Bug 908306 - Disable more Web Audio crashtests on B2G due to frequent timeouts.
2013-08-22 14:04:41 -04:00
Nicholas Cameron
c9afa4094d
Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical
2013-08-21 13:28:53 +12:00
Ms2ger
87ae95251c
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
4922ccbc0a
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
2013-08-22 08:56:01 +02:00
Ms2ger
2d7391b50d
Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey
2013-08-22 08:55:59 +02:00
Ms2ger
4d968c40e1
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Eitan Isaacson
57f8a1270b
Bug 858529 - Add nsISpeechTask.SendAudioNative. r=smaug
2013-08-21 12:39:27 -07:00