Commit Graph

596 Commits

Author SHA1 Message Date
Dan Minor
b34705d0d2 Bug 1270055 - Add test for DynamicsCompressor with gain; r=karlt
MozReview-Commit-ID: 7vT7oaheZaS

--HG--
extra : rebase_source : 5885808d29139e468003b3414297494decf9ee1f
2016-05-05 09:20:52 -04:00
Alastor Wu
b5d99318b3 Bug 1235612 - Part 3: Implement the logic of audible state notification for agent owners. r=baku
MozReview-Commit-ID: 6CueLPpuXWm

--HG--
extra : rebase_source : d40603e2ecc006a7b21f8b9adeb3a244e9821a2f
2016-05-03 17:59:32 +08:00
Dan Minor
68f5130961 Bug 1270055 - Unaligned buffer used in DynamicsCompressor; r=padenot
MozReview-Commit-ID: 4xVYjCGblTV

--HG--
extra : rebase_source : 28400783fa926ebc2832529e32688033e3420e3c
2016-05-04 06:49:07 -04:00
Kyle Huey
941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Kyle Huey
7311b10562 Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj 2016-05-05 01:44:59 -07:00
Alastor Wu
c8fae1998b Bug 1242874 - part4 : wrap the volume/mute/suspend for notifyStartedPlaying. r=baku
MozReview-Commit-ID: 2FMfEVuODmu

--HG--
extra : rebase_source : 96e49e6e8d074a9bd5d9a7e6a60e7ec01cc88402
2016-05-03 09:52:44 +08:00
Alastor Wu
30466d68e1 Bug 1242874 - part3 : implement different suspended methods. r=baku, r=jwwang
MozReview-Commit-ID: HHYX29gbLwk

--HG--
extra : rebase_source : d774e1338c6e0cd2ce8b4329b28ad9650011a7e5
2016-05-03 09:52:38 +08:00
Alastor Wu
40bc1f6803 Bug 1242874 - part1 : create suspened types. r=baku
MozReview-Commit-ID: FUAPZAdPVse

--HG--
extra : rebase_source : c9faf34965d7e2be9b76881c95dfeff62036587f
2016-05-03 09:50:24 +08:00
Dan Minor
1eb1d5f91e Bug 1266112 - Remove unnecessary alignment checks from AudioNodeEngine.cpp; r=padenot
Assuming that Bug 1266405 fixed the underlying cause for the unaligned
buffers we were seeing, the checks in AudioBufferAddWithScale and
AudioBlockCopyWithScale shoudl no longer be necessary.


MozReview-Commit-ID: 4OQ4qQVjEP3

--HG--
extra : rebase_source : fda9b1f7604a2732c9dea4985bfd47ce9293bc0f
2016-04-29 08:35:30 -04:00
Paul Adenot
00e45c5141 Bug 1259831 - Remove the auto-suspend logic for AudioContext. r=karlt
MozReview-Commit-ID: JoSMPVfbgJb
2016-03-29 16:57:19 +02:00
Carsten "Tomcat" Book
dfff02b90d Backed out changeset fd833da413ad (bug 1268313)
--HG--
extra : rebase_source : f857127091900871034f44d89095895abe9932dc
2016-04-29 14:21:25 +02:00
Carsten "Tomcat" Book
ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Carsten "Tomcat" Book
2dc450ceba Backed out changeset a8bae4554679 (bug 1259831)
--HG--
extra : rebase_source : 18ccc0c8c21d4d42afa5e8db22921b5468117b30
2016-04-29 14:21:12 +02:00
Paul Adenot
1011bcc2a0 Bug 1259831 - Remove the auto-suspend logic for AudioContext. r=karlt
MozReview-Commit-ID: JoSMPVfbgJb
2016-03-29 16:57:19 +02:00
Nicholas Nethercote
2511b2c327 Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.

MozReview-Commit-ID: 1VS4Dney4WX

--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Kyle Huey
48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Kyle Huey
72c9966484 Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj 2016-04-28 14:08:24 -07:00
Carsten "Tomcat" Book
7fcba36865 Backed out changeset 1681062d82dd (bug 1242874) for timeouts in own test browser_mediaPlayback_suspended_multipleAudio.js 2016-04-28 13:59:23 +02:00
Carsten "Tomcat" Book
b4a55fdcfc Backed out changeset d09b20eeb382 (bug 1242874) 2016-04-28 13:59:04 +02:00
Carsten "Tomcat" Book
0a62793b79 Backed out changeset df13b449ffcc (bug 1242874) 2016-04-28 13:59:02 +02:00
Alastor Wu
4e7da2f687 Bug 1242874 - part4 : wrap the volume/mute/suspend for notifyStartedPlaying. r=baku
MozReview-Commit-ID: GRjxz1E0C9r

--HG--
extra : transplant_source : %88%D7%C7q%3C%8A%98%C0%84k%AF%90%F7%5D%83%CC%BEa%B1%F2
2016-04-28 00:23:48 +08:00
Alastor Wu
daaa9802c9 Bug 1242874 - part3 : implement different suspended methods. r=baku, r=jwwang
MozReview-Commit-ID: Co4avRLWGRK

--HG--
extra : transplant_source : b%17%81%60%94_%F1%C2%5D%B1%B3%D5%F3%5C%7D4p%7F%03%EB
2016-04-28 00:23:42 +08:00
Alastor Wu
14fb7102ce Bug 1242874 - part1 : create suspened types. r=baku
MozReview-Commit-ID: 1RJvbzMOCpu

--HG--
extra : transplant_source : %E8%3F%7BLD%F3%B8%98%3E%CA%A5%5C7%B7%9B%D0%BEFrr
2016-04-28 00:21:22 +08:00
Kyle Huey
7579799b01 Bug 1266595: Replace Chromium Task with Runnable. r=froydnj 2016-04-27 17:06:05 -07:00
Dan Minor
4b3726dd99 Bug 1265405 - Add test case for PeriodicWave normalization; r=padenot
MozReview-Commit-ID: B85kaip1xQT

--HG--
extra : rebase_source : 565fe160a510cad0bf1f406404e33121a0783a3c
2016-04-22 09:47:07 -04:00
Dan Minor
c86fe66751 Bug 1265405 - Use a dictionary to specify how PeriodicWave should be normalized (or not); r=padenot
MozReview-Commit-ID: IH7no48COML

--HG--
extra : rebase_source : 649afa948369812a93667929e1b9bf1cba93172a
2016-04-25 11:37:20 -04:00
Dan Minor
11d3cf6d22 Bug 1265405 - Add a dictionary to specify how PeriodicWave should be normalized (or not); r=smaug
MozReview-Commit-ID: CR5kO8MXdZv

--HG--
extra : rebase_source : 10ac8c5f18b18fdc92d8eb2013354bbbf2da0c9e
2016-04-26 06:54:38 -04:00
Dan Minor
317ceb9c8e Bug 1267579 - Add test case; r=padenot
MozReview-Commit-ID: KQQKuw7KSXg

--HG--
extra : rebase_source : a5360f568149c32b279dfdec206773acf5b943f7
2016-04-26 09:24:42 -04:00
Dan Minor
d9f8adcc4b Bug 1267579 - Unexpected result when using OscillatorNode with custom wave shape; r=padenot
This fixes some division by zero errors introduced by Bug 1222405 when the
fundamental frequency is zero.

MozReview-Commit-ID: A7qfJjJOJ3H

--HG--
extra : rebase_source : 02506b547c5f78495c449bba9f476d3f42cf7ed0
2016-04-26 09:41:54 -04:00
Paul Adenot
0d3dbc04dc Bug 996685 - Report an error in the console when a cross-origin media element is used with a Media(ElementAudio|Stream)SourceNode. r=pehrsons
MozReview-Commit-ID: 8VP7Sv8unUq
2016-04-26 17:46:31 +02:00
ctai
4e89100cf8 Bug 1266644 - Rename DOMMediaStream:: CreateXXXStream to DOMMediaStream:: CreateXXXStreamAsInput. r=jesup r=pehrsons
MozReview-Commit-ID: 4X0Q1XuENa4
2016-04-25 11:43:27 +08:00
ctai
8fcb64e480 Bug 1266644 - Rename StreamBuffer to StreamTracks. r=jesup r=pehrsons
Rename StreamBuffer to StreamTracks. We still need a place to keep the track information in every MediaStream, even the StreamBuffer::Track::mSegment is empty.

--HG--
rename : dom/media/StreamBuffer.cpp => StreamTracks.cpp
rename : dom/media/StreamBuffer.h => StreamTracks.h
2016-01-26 10:49:01 +08:00
Kyle Huey
c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Paul Adenot
62993a3f50 Bug 1265397 - Add a length attribute to OfflineAudioContext. r=smaug
MozReview-Commit-ID: J3TqIDI4saW
2016-04-25 11:45:59 +02:00
Paul Adenot
d6dc2d1ec6 Bug 1267096 - Check the return value of Promise::Create in AudioContext::StartRendering. r=smaug
MozReview-Commit-ID: 6w6XDDPbbiV

--HG--
extra : rebase_source : b4019e46f164af4cbe53e6437dddda4b8c1292a9
2016-04-25 11:16:08 +02:00
Jan Beich
d8d938eb8b Bug 1266772 - Unbreak FreeBSD build after bug 881587. r=dminor
MozReview-Commit-ID: 5oZ1R0vYnRm

--HG--
extra : transplant_source : %BDk%E1x%29%1E%D5%92%40%24%ACVN%CB%F0U%2A%B6_%B2
2016-04-22 15:31:09 +00:00
Dan Minor
48b7390289 Bug 1266405 - AudioBufferSourceNode::CopyFromBuffer should not borrow unaligned buffers; r=padenot
MozReview-Commit-ID: 82DZJ8BFWaq

--HG--
extra : rebase_source : 20d5a43df87cf826971bef149a1f29ee75c1c0d2
2016-04-21 10:01:19 -04:00
Dan Minor
3fde1b5f43 Bug 1265400 - Use unsigned long for AudioBuffer length and numberOfChannels; r=smaug
MozReview-Commit-ID: 47ZDDvj5QrA

--HG--
extra : rebase_source : 2c441c7d04ec84eeec526a9a93607ffcac263617
2016-04-20 12:32:17 -04:00
Dan Minor
eb586d648d Bug 1266047 - Fix crash in mozilla::AudioBufferAddWithScale_SSE r=padenot
This adds alignment checks to fallback to scalar operations if the
received buffers are not properly aligned. Bug 1266112 is the follow on
to either fix the alignment problem or add a vector path for the aligned
portion of the buffers.

MozReview-Commit-ID: 5HCXzipXlqD

--HG--
extra : rebase_source : 0dff8258c4cc0d468c18267680f053ff1a240ad5
2016-04-20 11:54:50 -04:00
JW Wang
e7a6f22684 Bug 1265629 - Remove unused MediaDecoderReader::BreakCycles(). r=kaku. 2016-04-20 14:45:19 +08:00
Paul Adenot
ec07e4a3d1 Bug 1265403 - Support chaining AudioParam automation methods. r=smaug
MozReview-Commit-ID: 7Jh5eWtfU4t
2016-04-19 14:52:27 +02:00
Dan Minor
d54abe3ef7 Bug 881587 - Use SSE2 version of AudioNodeEngine.cpp routines added in bug 815643. r=padenot
MozReview-Commit-ID: 3cfU3oTruAC

--HG--
extra : rebase_source : 527061c1b0ff8b9905f6b91f5d29f61adbdfe2d2
2016-04-14 08:57:21 -04:00
Paul Adenot
ed065c9fa9 Bug 881587 - Add SSE2 version of AudioNodeEngine.cpp routines added in bug 815643. r=tterribe
MozReview-Commit-ID: 4aTdyTQEuuj

--HG--
extra : rebase_source : 30c6be909791d4310ea98eaa02139cb8aca24ed9
2013-06-12 02:56:44 +02:00
Dan Minor
80b9a8662f Bug 877662 - Use SSE2 versions of AudioNodeEngine functions r=padenot
MozReview-Commit-ID: AJ2f5YBobPv

--HG--
extra : rebase_source : 6dcf2eda9ba92ec960ffd8aa538008c49c474dd2
2016-03-18 16:24:02 -04:00
Dan Minor
ff12a068d6 Bug 877662 - Update SSE2 versions of AudioNodeEngine functions r=padenot
This updates the original SSE2 implementations to match the current
AudioNodeEngine API and adds them to the build.

MozReview-Commit-ID: KULBD7KTr3n

--HG--
extra : rebase_source : 05adf8a26cb33a4b9d9c9d200d3ed8b1831f6995
2016-04-11 16:10:45 -04:00
Paul Adenot
1bc7b6b66f Bug 877662 - Add an SSE2 implementation of AudioNodeEngine.cpp functions. r=ehsan
MozReview-Commit-ID: GhxFwFlmqPr

--HG--
extra : rebase_source : 73c3ca69123b8ffafa010d0fe3b7205fe5f6f89b
2013-06-11 02:01:54 +02:00
Dan Minor
8c7cbbbf79 Bug 877662 - Align audio buffer allocations to 16 byte boundaries r=padenot
To be able to use SSE2 routines, we need to audio buffers to be allocated
on 16 byte boundaries.

MozReview-Commit-ID: 2mjxMWqysFd

--HG--
extra : rebase_source : 8bd7d48b767b7bcfa5874061586b9b41c26a18ae
2016-04-13 15:31:50 -04:00
Dan Minor
7bd057f84a Bug 877662 - Add AlignmentUtils.h r=padenot
MozReview-Commit-ID: E5peJVX2qFo

--HG--
extra : rebase_source : 5b54f30f4013dd03731b8332b773b7c06484d901
2016-04-12 10:51:35 -04:00
Andreas Pehrson
ee5913bb8b Bug 1208371 - Move MediaStreamTrack's label to MediaStreamTrackSource. r=jib
MozReview-Commit-ID: Aj7Cht4zxc6

--HG--
extra : rebase_source : c454a9f2b81a6a1eb574c1abee0fab64abbe5b72
2016-01-22 16:27:37 +08:00
Andreas Pehrson
f33e7b4b07 Bug 1208371 - Wait for "loadedmetadata" before setting up nodes in test_mediaElementAudioSourceNodeCrossOrigin.html. r=padenot
MozReview-Commit-ID: HruqsknDHi7

--HG--
extra : rebase_source : bf83b46e1f5f46f777490163a6a6ee34190b38bb
2016-01-05 11:17:16 +08:00