Commit Graph

902 Commits

Author SHA1 Message Date
Peter Van der Beken
dcda2ba9bb Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Wes Kocher
03d235fb07 Backed out changeset 645d5e930e23 (bug 1067305) for inadvertently disabling all media tests on some platforms CLOSED TREE 2014-10-06 19:11:39 -07:00
Bob Owen
3aaf65bd44 Bug 1067305 - Conditionally disable mochitests that won't run with the content sandbox at low integrity. r=jmaher 2014-10-01 15:01:22 +01:00
Karl Tomlinson
83dd652135 b=1012609 improve PeriodicWave phase-wrapping logic r=rillian
This approach takes advantage of the fact that periodicWaveSize is a power of
2 and uses unsigned integer modulo arithmetic to find the appropriate phase
of the period.

--HG--
extra : rebase_source : bb5fc413785d5f12a76cff4cbb5ba2ed5e979b41
2014-09-30 18:10:03 +13:00
Ryan VanderMeulen
dbb11fdd67 Backed out changeset 11f95edf23a4 (bug 1073615) for frequent mochitest-bc timeouts. 2014-10-01 13:04:02 -04:00
Karl Tomlinson
b7f87dd74c b=1074765 use greater weight for nearer sample in PeriodicWave interpolation r=rillian
--HG--
extra : rebase_source : 0c6ac8b0a870caa4bf5e770fe431aebe25b5af26
2014-09-30 17:30:30 +13:00
Karl Tomlinson
534ee9bcad b=1074765 increment phase after sampling to begin PeriodicWave at phase = 0 r=rillian
This makes phase consistent with the sine OscillatorType and with Blink's
custom OscillatorType.

--HG--
extra : rebase_source : bd046ec14d18115af18f929126aae287c258adf2
2014-09-30 17:26:26 +13:00
Karl Tomlinson
ad0b48363f b=1074765 move const periodicWaveSize multiplier out of loop r=rillian
--HG--
extra : rebase_source : f09104d4df99cf36dd03c883eec2980d503b0c06
2014-09-30 17:13:27 +13:00
Karl Tomlinson
1b5fee3ae2 b=1074765 test PeriodicWave output
--HG--
extra : rebase_source : ccf075b9d52dc4da22e9d7f3f3bb73eceefdf1cd
2014-10-01 11:25:24 +13:00
Andrea Marchesini
3a8f6e7a5f Bug 1073615 - One MediaStreamGraph singleton per audioChannel, r=roc 2014-09-30 18:35:32 +01:00
Kyle Huey
1e8e0c575a Bug 982212: Part 3 - Now that nsTArray::AppendElement supports r-value references, remove the workarounds added in Bug 967364. r=nfroyd
--HG--
extra : rebase_source : 1e6188d26b745f6dc9bdf2accc0abf7f07351510
2014-03-15 18:56:00 +01:00
Mike Hommey
0060683747 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Matthew Gregan
3893f1c156 Bug 1062101 - Compute WebM frame duration from Δt of last frame. r=cajbir 2014-09-03 17:26:19 +12:00
Bill McCloskey
757ebcfbe3 Bug 1061013 - Disable various browser chrome tests when running with e10s. r=jimm 2014-09-02 13:47:12 -05:00
Ehsan Akhgari
1b1d6ffebf Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Ehsan Akhgari
6b95ac13c0 Bug 1061051 - Fix more bad implicit constructors in the media code; r=roc
--HG--
extra : rebase_source : c3d5f6a1cc95f4a7f123129e14a9a0c57d00ef38
2014-08-31 23:50:59 -04:00
Ehsan Akhgari
f76451d2e9 Bug 1060980 - Fix more bad implicit constructors in the media code; r=roc
--HG--
extra : rebase_source : 14da50f7d2e37e04452445dea575ea4d582e8efd
2014-08-31 23:50:23 -04:00
Alexandre Poirot
ba2baecf47 Bug 848954 - Disable webaudio tests on mulet on CLOSED TREE. r=jesup a=tomcat
--HG--
extra : amend_source : 448213f90bc8e4929aa1e98b2606d2c906cfba5e
2014-08-27 00:22:00 +02:00
Randell Jesup
4ce3c4269e Bug 848954 - Part 31 - Temporarily disable a web audio api test. r=padenot
This will be reenabled in bug 1058586
2014-08-26 17:04:39 +02:00
Paul Adenot
2dc4962f29 Bug 848954 - Part 16 - Make AudioCallbackDriver respect the AudioChannelType. r=roc 2014-08-26 17:02:08 +02:00
Paul Adenot
64e239b778 Bug 848954 - Part 9 - Allow to pass in hints when getting a reference to a MediaStreamGraph to get the right driver started as soon as possible. r=roc
This is useful because some platform have rather slow audio stream
initialization time, especially the first time an audio stream is created for
the process.

We put in telemetry probes to measure that:
First stream opened for the process:
http://telemetry.mozilla.org/#filter=nightly%2F33%2FAUDIOSTREAM_FIRST_OPEN_MS&aggregates=multiselect-all!Submissions!Mean!5th%20percentile!25th%20percentile!median!75th%20percentile!95th%20percentile&evoOver=Builds&locked=true&sanitize=true&renderhistogram=Graph

Subsequent streams:
http://telemetry.mozilla.org/#filter=nightly%2F33%2FAUDIOSTREAM_LATER_OPEN_MS&aggregates=multiselect-all!Submissions!Mean!5th%20percentile!25th%20percentile!median!75th%20percentile!95th%20percentile&evoOver=Builds&locked=true&sanitize=true&renderhistogram=Graph
2014-08-25 15:27:25 +02:00
Paul Adenot
bf1afe6d99 Bug 848954 - Part 6 - Put cubeb-related static functions in their own file. r=kinetik 2014-08-25 15:26:09 +02:00
Matthew Gregan
1db9ea982a Bug 1056534 - Add logging to stubbed out member functions to speed up debugging. r=cajbir
--HG--
rename : content/media/mediasource/SubBufferDecoder.cpp => content/media/mediasource/SourceBufferDecoder.cpp
rename : content/media/mediasource/SubBufferDecoder.h => content/media/mediasource/SourceBufferDecoder.h
rename : content/media/BufferDecoder.cpp => content/media/webaudio/BufferDecoder.cpp
rename : content/media/BufferDecoder.h => content/media/webaudio/BufferDecoder.h
2014-08-22 14:14:36 +12:00
Ryan VanderMeulen
ddfaced990 Bug 906752 - Disable test_audioBufferSourceNodeOffset.html on debug builds. a=test-only 2014-08-21 13:34:19 -04:00
Ehsan Akhgari
feb900f72c Bug 1056460 - Move AudioEventTimeline.h to webaudio; r=roc
--HG--
rename : content/media/AudioEventTimeline.h => content/media/webaudio/AudioEventTimeline.h
2014-08-21 10:54:03 -04:00
Paul Adenot
ea2808de47 Bug 1056032 - Put the test disabling in the right file. 2014-08-21 13:49:54 +02:00
Paul Adenot
af6bd3a2c3 Bug 1056032 - Test that we can decode an mp3 using decodeAudioData. r=ehsan
--HG--
rename : content/media/test/small-shot.mp3 => content/media/webaudio/test/small-shot.mp3
2014-08-20 17:23:24 -04:00
Paul Adenot
3177326fa1 Bug 1056032 - Make sure COM is initialized when trying to decode an mp3 using decodeAudioData. r=cpearce 2014-08-20 17:23:22 -04:00
Wes Kocher
b0307a3784 Backed out 2 changesets (bug 1056032) for bustage
Backed out changeset 18b0e0c795d4 (bug 1056032)
Backed out changeset 15caaf563783 (bug 1056032)
2014-08-20 15:30:23 -07:00
Paul Adenot
78eba23820 Bug 1056032 - Test that we can decode an mp3 using decodeAudioData. r=ehsan
--HG--
rename : content/media/test/small-shot.mp3 => content/media/webaudio/test/small-shot.mp3
2014-08-20 17:23:24 -04:00
Paul Adenot
44d5b51305 Bug 1056032 - Make sure COM is initialized when trying to decode an mp3 using decodeAudioData. r=cpearce 2014-08-20 17:23:22 -04:00
Ehsan Akhgari
662027abfa Bug 1055511 - Add a test case for ScriptProcessorNode.passThrough; r=roc 2014-08-20 00:57:37 -04:00
Ehsan Akhgari
c689dbd103 Bug 1055367 - Move the code for AudioNodeStream and AudioNodeEngine to webaudio; r=roc
This code is specific to Web Audio, and is not really part of the
MediaStreamGraph code.  I've always hated how these files being in
two directories gets in the way while hacking on this code.

--HG--
rename : content/media/AudioNodeEngine.cpp => content/media/webaudio/AudioNodeEngine.cpp
rename : content/media/AudioNodeEngine.h => content/media/webaudio/AudioNodeEngine.h
rename : content/media/AudioNodeEngineNEON.cpp => content/media/webaudio/AudioNodeEngineNEON.cpp
rename : content/media/AudioNodeEngineNEON.h => content/media/webaudio/AudioNodeEngineNEON.h
rename : content/media/AudioNodeExternalInputStream.cpp => content/media/webaudio/AudioNodeExternalInputStream.cpp
rename : content/media/AudioNodeExternalInputStream.h => content/media/webaudio/AudioNodeExternalInputStream.h
rename : content/media/AudioNodeStream.cpp => content/media/webaudio/AudioNodeStream.cpp
rename : content/media/AudioNodeStream.h => content/media/webaudio/AudioNodeStream.h
2014-08-20 00:56:31 -04:00
Ehsan Akhgari
93ef504483 Bug 1055512 - Actually input a stereo buffer into the ScriptProcessorNode in the test case for that node; r=padenot 2014-08-19 15:10:54 -04:00
Ehsan Akhgari
678337b052 Bug 1007776 - Add a devtools API for muting the source AudioNodes; r=roc,smaug 2014-08-19 08:12:43 -04:00
Ehsan Akhgari
42de58dbf7 Bug 1007778 - Add a devtools API to make some Web Audio nodes pass through their inputs; r=roc,smaug 2014-08-18 20:12:50 -04:00
Karl Tomlinson
a37ebe5a53 mochitest for bug 970773
--HG--
extra : rebase_source : d79239ebc2473a95ac0dde796515c935f3ac3ab2
2014-08-13 18:00:25 +12:00
Karl Tomlinson
bbd7c42a51 b=970773 convert destination stream time to DOM time for playbackTime r=roc
--HG--
extra : rebase_source : a4385d56d6cc39d59abf14cca4d399a33fd64173
2014-08-13 11:05:09 +12:00
Karl Tomlinson
5a1475ec6a b=970773 remove unnecessary locking when getting AudioNodeEngine Node on main thread r=roc
See also bug 914392.

--HG--
extra : rebase_source : 4c3599dd1866adf5045d69ab97ae362a6de4aba5
2014-08-13 10:43:14 +12:00
Karl Tomlinson
9d02f5394b b=970773 remove unnecessary IsSafeToRunScript() test on event loop nsRunnable r=roc
If the event loop is running, then it is safe to run script.

--HG--
extra : rebase_source : c0fb5fddb8e714d4d5ed0cdb7384a95cf23ad9af
2014-08-13 10:34:55 +12:00
Karl Tomlinson
5699dfc818 b=970773 collect common AudioProcessingEvent tests into a shared function r=ehsan
--HG--
extra : rebase_source : 191bc425627b5290d2963e23d0bb7dfc569d7719
2014-08-13 12:12:43 +12:00
Mike Hommey
89777800f9 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Andrea Marchesini
fac69fce74 Bug 1046582 - mochitest for AudioChannel changes in MediaStream objects, r=ehsan, r=bz 2014-08-03 14:46:17 +01:00
Birunthan Mohanathas
582684f7e4 Bug 1044445 - Collapse test-only moz.build files under content/media/ into ancestor moz.build files. r=glandium 2014-07-31 12:54:21 -07:00
Benoit Jacob
c50ccf8dba Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Andrea Marchesini
1054e1f42a Bug 1036431 - Setting AudioContext.mozAudioChannelType should set the audiochannel in mStream as well, r=ehsan 2014-07-30 12:26:12 +01:00
Karl Tomlinson
890c626840 b=1033122 be consistent about speex_resampler symbol visibility r=khuey
When "speex/speex_resampler.h" was included, another exported header (in
dist/include) would find the speex/speex_resampler.h in dist/include before
dist/system_wrappers.  Visibility of undefined symbols depended on the order
of includes.

This patch changes includes to <speex/speex_resampler.h> so that
WRAP_SYSTEM_INCLUDES works as expected but removes the wrapper when not using
GKMEDIAS_SHARED_LIBRARY.

--HG--
extra : rebase_source : 93ca1dbdd6b489647624326e78539f44c60d0b34
2014-07-02 14:21:34 +12:00
Andrea Marchesini
796ec5ad0f Bug 1044514 - AudioDestinationNode should not be kept alive by the event listener, r=ehsan 2014-07-29 16:30:40 +01:00
Mike Hommey
2bab6202af Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00