Ms2ger
df8525f77d
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Shelly Lin
d35691b860
Bug 903023 - memset with 0 if the buffer of audio chunk is null. r=roc
2013-08-14 11:04:52 +08:00
Shelly Lin
880433f3e1
Bug 897895 - Correct the pcm offset when encoding audio source with two channels. r=roc
2013-08-14 11:04:55 +08:00
JW Wang
b883640fbe
Bug 882171 - Part 2: Call NEON implementation. r=ehsan, r=glandium
2013-08-13 17:30:18 +08:00
JW Wang
605cb449b1
Bug 882171 - Part 1: Add NEON implementation of AudioNodeEngine.cpp. r=roc, r=padenot, r=derf, r=glandium
2013-08-13 15:39:42 +08:00
Paul Adenot
e643bf2207
Bug 903476 - Fuzz a bit more and android as well.
...
--HG--
extra : rebase_source : 57d9a1ed3549a0c8a2af9fb8be42b5823f21a2ec
2013-08-13 15:56:42 +02:00
Paul Adenot
0b00e4ef84
Bug 903476 - Fuzz a bit more on win32.
...
--HG--
extra : rebase_source : 321848369a2f2401b1fcaf287bfbcd049a7c299c
2013-08-13 14:48:36 +02:00
Paul Adenot
66239a7ec2
Bug 903476 - Update the fuzzing values in test_mediaDecoding.html because we changed the resampler. r=ehsan
...
--HG--
extra : rebase_source : 3b354018ba83f53cf64d6adb511c41dfcb205039
2013-08-13 12:44:34 +02:00
Chris Pearce
74b090b494
Bug 861693 - Makefile and moz.build changes required for DirectShow audio backend. r=gps
2013-08-13 16:49:25 +12:00
Chris Pearce
b6744d88a6
Bug 861693 - DirectShow MP3 decoder HTML5 audio backend for Windows. r=padenot
2013-08-13 16:49:25 +12:00
Karl Tomlinson
b6833fc832
b=815643 Implement HRTF panner processing based on Blink implementation r=ehsan
...
--HG--
extra : rebase_source : 197fd6f39d3d45b61d25d9dc399c72828d93655a
2013-08-09 10:08:06 +12:00
Karl Tomlinson
5d662c0df1
b=815643 Add Blink's HRTFPanner to the build r=ehsan
...
--HG--
extra : rebase_source : 14187eb58d308c25b3ff37356a1aef6757aee81d
2013-08-09 10:07:49 +12:00
Karl Tomlinson
e37987a35d
b=815643 Refactor DelayNodeEngine delay processing into a shareable class r=ehsan
...
--HG--
extra : rebase_source : e25ff3e490c2cbce5ed7cdf9419ccc2850ea16e5
2013-08-09 10:07:49 +12:00
Karl Tomlinson
afd43adcd6
b=865241 don't join HRTFDatabaseLoader thread until it has finished r=ehsan
...
Also turn some always-true conditions into assertions.
--HG--
extra : rebase_source : a38b75a1a27f25cef7b9dd86a1cca15ce9f67893
2013-08-09 10:07:42 +12:00
Karl Tomlinson
2ea901aa4d
b=865241 make HRTFDatabaseLoader ref-counting thread-safe r=ehsan
...
--HG--
extra : rebase_source : 8cab96807c111eb103dbe931d14a86a8b97a824e
2013-08-09 09:59:56 +12:00
Karl Tomlinson
296268450d
b=815643 Add Blink's HRTFDatabase and HRTFDatabaseLoader to the build r=ehsan
...
--HG--
extra : rebase_source : e7aa0ce1ca436bbb429cb1f6051b3b8210bf767a
2013-08-09 09:56:28 +12:00
Karl Tomlinson
76ae42715c
b=815643 Add Blink's HRTFElevation to the build r=ehsan
...
--HG--
extra : rebase_source : 5dda0b6c6302197574ac5fafbb0f06b1ac65980a
2013-08-08 21:38:30 +12:00
Karl Tomlinson
f64e2297c1
b=815643 Reduce convolver fft size for low sample rates r=ehsan
...
--HG--
extra : rebase_source : 0d7c6d4a3bcb340fc674f0b4181cf264fcc4e041
2013-08-08 21:38:30 +12:00
Karl Tomlinson
b57bd542e2
b=815643 Add code to interpret and resample impulse response data r=ehsan
...
--HG--
extra : rebase_source : 35497353634022f297b2ebf333b7230b12c1f9c2
2013-08-08 21:38:30 +12:00
Karl Tomlinson
f68d252272
b=815643 Add HRTF impulse response data r=ehsan
...
The impulse response sample data is directly from individual impulse response wave files
in Blink SVN revision 153183.
--HG--
extra : rebase_source : 037471efd5be1f0d4a798bcc01192db9398377c2
2013-08-08 21:38:30 +12:00
Karl Tomlinson
715c2a763f
b=815643 Use symmetry to halve the number of HRTF kernels calculated and cached r=ehsan
...
--HG--
extra : rebase_source : 12e4a114630e793c22d3e335c38c641a6bc20ee2
2013-08-08 21:38:29 +12:00
Karl Tomlinson
8c052323df
b=815643 Add Blink's HRTFKernel to the build r=ehsan
...
A functional difference is that HRTFKernel is not reference-counted.
--HG--
extra : rebase_source : 66a9653fed75265ec55d915b731876bcb793d513
2013-08-08 21:38:29 +12:00
Karl Tomlinson
c3889975de
b=865241 always leave 20 samples of headroom when extracting group delay, removing the discontinuity at delay = 20 r=ehsan
...
--HG--
extra : rebase_source : 30515ea2236b7503ff7e446d50930f91135bc7e0
2013-08-08 21:38:29 +12:00
Karl Tomlinson
a8f2492870
b=815643 Add Blink's frequency interpolation and group delay methods from FFTFrame to FFTBlock r=ehsan
...
--HG--
extra : rebase_source : 1e3393c85f1828cbcce49af1e3160fc3535d39b8
2013-08-08 21:38:24 +12:00
Karl Tomlinson
c312f43e8d
b=865241 don't try to compute a phase for group delay from the DC and nyquist components of the DFT r=ehsan
...
Given imagP[0] is really realP[halfSize], it doesn't make sense to calculate a
phase from placing the DC and Nyquist components in different directions.
The DC component doesn't have a phase offset and lastPhase is already
initialized to zero.
This makes extractAverageGroupDelay() consistent with addConstantGroupDelay()
and to some extent interpolateFrequencyComponents().
The effect of the bug would have been small for reasonably sized FFTs.
--HG--
extra : rebase_source : b2931d625bd7e014f123b576f28aad7f719c585d
2013-08-08 21:37:36 +12:00
Karl Tomlinson
b03713d218
b=815643 remove unused HRTF code r=ehsan
...
--HG--
extra : rebase_source : f6063443b6e7574055b0ad92e95e32d7f0a850cd
2013-08-08 21:37:36 +12:00
Karl Tomlinson
9524af834b
b=815643 Import the HRTF panner implementation from Blink r=ehsan
...
This code was copied from Blink SVN revision 153183.
--HG--
extra : rebase_source : 968f69846f5c532eda3580c8ce2176e2e6b5fc63
2013-08-08 21:37:36 +12:00
Chris Pearce
3ab415c2ae
Bug 901944 - Ignore MF_E_TRANSFORM_TYPE_NOT_SET error when setting D3DManager on H264 Decoder. This error is returned on some (or all?) video cards on Vista, and appears to be safe to ignore. r=padenot
2013-08-13 14:42:39 +12:00
Ryan VanderMeulen
d14c842365
Backed out changeset 635ef1e34417 (bug 899878) for B2G mochitest-3 timeouts.
2013-08-12 16:45:14 -04:00
Ryan VanderMeulen
73ebf67a95
Merge m-c to b2g-inbound.
2013-08-12 15:36:24 -04:00
Ralph Giles
aa95cf5ecd
Bug 903012 - Fix static bounds checks. r=kinetik
...
In reviewing the static asserts in the code I found two
inconsistencies.
riffHeader includes 4 skipped bytes which weren't accounted
for in the bounds check.
Comparisons of a uint against UINT_MAX are very unlikely to
fail regardless, but this at least makes the two MAX_BLOCK_SIZE
checks the same.
2013-08-08 10:30:00 -04:00
Ralph Giles
f21dc14559
Bug 903012 - Convert WaveReader to use static_assert. r=kinetik
...
We prefer the built-in check to the PR_STATIC_ASSERT macro now
that it's supported widely enough to use.
This is mostly adding error strings to report on assertion failure.
2013-08-08 10:30:00 -04:00
Chris Pearce
9a2e6ae827
Bug 901944 - Disable DXVA on Vista, to avoid rendering artifacts. r=kentuckyfriedtakahe
2013-08-12 17:17:38 +12:00
Chris Double
52d8a5a009
Bug 896866 - Media Source Extension demo app doesn't play all segments - r=kinetik
...
--HG--
extra : rebase_source : 13d66fb5c2d6c0c01929e404b6fb1b5d29073b54
2013-08-12 16:37:10 +12:00
Jason Smith
2aa0a6baa6
Bug 899878 - Mochitest for recording media with no timeslice for Media Recording API. r=roc
2013-08-06 22:31:48 -07:00
Randy Lin
29661c2c9f
Bug 903758 - Media Recording - setting the recorder state to inActive on the stop method. r=roc
2013-08-10 20:29:35 +08:00
Randy Lin
164aea418f
Bug 902194 - Use mutex to replace the reentrant in EncodedBufferCache. r=roc
2013-08-09 13:46:20 +08:00
Randy Lin
b44ce21e6a
Bug 897776 - Test case for MediaRecorder infinite recursion with requestData() calls in "dataavailable" event. r=jsmith
2013-08-11 11:35:16 +08:00
Randy Lin
3d965edda1
Bug 897776 - MediaRecorder infinite recursion with requestData() calls in dataavailable event. r=roc
2013-08-07 18:31:51 +08:00
Ryan VanderMeulen
07ff40b56e
No bug - Fix busted crashtest manifest. r=stupidme
...
DONTBUILD CLOSED TREE
2013-08-14 14:54:27 -04:00
Ryan VanderMeulen
1972477f4d
No bug - Disable timeout-prone B2G crashtests.
...
CLOSED TREE
2013-08-14 13:40:20 -04:00
Brian O'Keefe
3a92f0ae7c
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Paul Adenot
b14fe48e2a
Bug 899135 - Drop buffers in ScriptProcessorNode instead of buffering them when the main thread is blocked. r=roc
2013-08-13 19:34:22 +02:00
Ryan VanderMeulen
2cb6b07d20
Merge m-c to inbound.
2013-08-09 19:29:45 -04:00
Ryan VanderMeulen
8afe7e8fed
Merge inbound to m-c.
2013-08-09 19:08:45 -04:00
Ryan VanderMeulen
1c27efb8bd
Merge b2g-inbound to m-c.
2013-08-09 17:26:14 -04:00
Ryan VanderMeulen
593f66c42c
Backed out changesets 6126987777f3 and a232e4df28e5 (bug 882171) due to Android build bustage.
2013-08-08 14:38:33 -04:00
Mark Hammond
ac7c070103
Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin
2013-08-08 09:52:01 +10:00
Thomas Zimmermann
cc9047ec02
Bug 831224: Added mochitest for variable-bitrate MP3s, r=padenot
...
The test checks the duration of an MP3 file with variable bitrate. The
MP3 file only contains silence. It uses a high bit-rate encoding for its
first half, a low bit-rate encoding for its second half. The correct
duration is 10 seconds, but an incorrect implementation will return a
much shorter value.
2013-08-07 18:54:04 +02:00
Ryan VanderMeulen
181107aedd
Backed out changeset ce3a1df4d559 (bug 875247) for mochitest-mc crashes.
2013-08-09 17:56:15 -04:00
Chris Pearce
0f20fe47c3
Bug 875247 - Use DXVA2 via D3D11 on Windows 8 to avoid readback of video frames when we turn on OMTC on Windows 8. r=Bas,padenot,gps
2013-08-10 08:17:44 +12:00
Carsten "Tomcat" Book
2e9c4e6c35
merge b2g-inbound to mozilla-central
2013-08-08 13:33:12 +02:00
Randy Lin
f2144a9739
Bug 902151 - MediaRecorder does not need to tell the cycle collector about mReadThread. r=khuey
2013-08-07 13:55:53 +08:00
Randy Lin
7d323d6e8b
Bug 900708 - Media Recording - Remove the Assertion in EncodedBufferCache.h. r=roc
2013-08-05 16:49:10 +08:00
Shelly Lin
fd1528731e
Bug 896980 - Add error handlings if fail to init track encoder or container writer. r=roc
2013-08-06 18:53:07 +08:00
Robert O'Callahan
d47e0a1048
Bug 856361. Part 10: Address review comments.
2013-08-07 15:42:43 +12:00
Boris Zbarsky
27c0e89dfb
Back out revision ab9642207875 (bug 897811) for browser-chrome test failures.
2013-08-08 01:13:45 -04:00
Mark Hammond
00e585ad0e
Bug 897811 - fix uses of browser.pagethumbnails.capturing_disabled to reflect the pref controls if it is *disabled* rather than enabled. r=gavin
2013-08-08 09:52:01 +10:00
David Zbarsky
2486054166
Bug 901060: Fix build bustage on Windows, r=bz over irc
2013-08-07 17:40:21 -04:00
Robert O'Callahan
0d79f2baf9
Bug 902197. Don't allow multiple MediaStreams to share the same DOMMediaStream wrapper. r=ehsan
...
--HG--
extra : rebase_source : 60de0aaff391bcabae6c281036e4ab82589e2707
2013-08-07 10:14:35 +12:00
Robert O'Callahan
8e2bdfda62
Bug 856361. Part 9: Make SpeechStreamListener handle null AudioChunks. r=smaug
...
--HG--
extra : rebase_source : fdf0bde1220b950c168cae94367c8682184054f0
2013-08-01 16:02:49 +12:00
Robert O'Callahan
95d8c8d855
Bug 856361. Part 8: Fix copying of track data from input streams to output streams in AudioNodeExternalInputStream. r=padenot
...
--HG--
extra : rebase_source : 344780d9c27ce3026ae5c12a08ea6a1ba3b4e924
2013-08-01 16:02:49 +12:00
Robert O'Callahan
979a3ae072
Bug 899863. Ensure resources with a Content-Length (that's not the result of a range request) are treated as bounded. r=cpearce
...
--HG--
extra : rebase_source : b3741deef952bf31b651c418efa5f168f9881469
2013-08-01 16:02:40 +12:00
Ehsan Akhgari
33cdf48b64
Bug 855568 - Implement MediaElementAudioSourceNode
...
X-Git-Commit-ID: 52f1fcdd561e8214e6820a3f2478d9e8b9623430
--HG--
extra : rebase_source : c40cd0c7070dec9e0273093499228f13906f8fc5
2013-07-25 15:01:49 +12:00
Robert O'Callahan
3f1bcdc18d
Bug 856361. Part 6: Make MediaStreamAudioSourceNode keep its DOMMediaStream alive, and make the DOMMediaStream keep the MediaStreamAudioSourceNode alive. r=ehsan
...
--HG--
extra : rebase_source : 0e3b5108d8ced8b1f1f427c9fd4f87e97c46921d
2013-07-25 14:07:34 +12:00
secretrobotron
4535b91abc
Bug 856361. Part 5: Implement MediaStreamAudioSourceNode. r=ehsan
...
--HG--
extra : rebase_source : 265f31edda31a2f749eacc568919304622446748
2013-07-24 23:29:39 +12:00
Robert O'Callahan
ff9b5a7756
Bug 856361. Part 7: Fix copying of track data from input streams to output streams in TrackUnionStream. r=padenot
...
--HG--
extra : rebase_source : 7138200b4f1060de00b2410f58c645c353580a6f
2013-08-01 16:02:49 +12:00
Robert O'Callahan
04f420896d
Bug 856361. Part 4: Create AudioNodeExternalInputStream. r=ehsan
...
--HG--
extra : rebase_source : 1061dea560eb1c242a4d11aae0d7d89da191d8fe
2013-07-24 22:15:11 +12:00
Robert O'Callahan
107806bd3b
Bug 856361. Part 3: Refactor AudioNodeStream to create ComputeFinalOuputChannelCount, AccumulateInputChunk and AdvanceOutputSegment, and make AudioNodeStreams be treated as always consumed by the MediaStreamGraph. r=ehsan
...
--HG--
extra : rebase_source : ef176c629f16a00042d2a281bfffbe75c31d6002
2013-07-24 22:11:35 +12:00
Robert O'Callahan
d1d9b8e419
Bug 856361. Part 2: Block data from a non-same-origin media resource entering a MediaStream from a media element. r=cpearce
...
--HG--
extra : rebase_source : db895d3d2d91a92d0c8c381940a0e0ccc9d9a8d0
2013-07-24 21:55:23 +12:00
Robert O'Callahan
2ce03ed48b
Bug 856361. Part 1: Fix comments for MediaInputPort flags to reflect reality. r=jesup
...
--HG--
extra : rebase_source : 8828d63f75b41500f9c7af5a4d6cf97740fe7215
2013-07-17 15:16:09 +12:00
Mark Hammond
337fcff3ff
Bug 897811 - remove browser.pageThumbs.enabled preference. r=gavin
2013-08-07 11:10:58 +10:00
JW Wang
dee2ecf218
Bug 875277 - Part 2: Implement WaveShaperNode.oversample - speex. r=ehsan
2013-08-06 14:11:32 +08:00
JW Wang
78371426cf
Bug 875277 - Part 1: Implement WaveShaperNode.oversample - webidl enums. r=ehsan
2013-08-06 14:15:07 +08:00
Ryan VanderMeulen
94cd7b2435
Backed out changesets aee6b1a6c400 and a633e4d67d31 (bug 875277) for bustage.
2013-08-05 20:47:07 -04:00
JW Wang
6792fdb826
Bug 875277 - Part 2: Implement WaveShaperNode.oversample - speex. r=ehsan
2013-08-05 10:34:52 +08:00
JW Wang
82fbbe4088
Bug 875277 - Part 1: Implement WaveShaperNode.oversample - webidl enums. r=ehsan
2013-07-26 15:14:35 +08:00
Ryan VanderMeulen
8e33abb5a7
Merge m-c to inbound.
2013-08-05 20:00:43 -04:00
Shelly Lin
3b1d789255
Bug 900811 - Fix the hang if closing its tab during recording a fake gUM. r=roc
2013-08-02 14:59:30 +08:00
Boris Zbarsky
cad540afeb
Bug 900898 part 2. Move to using Nullable<TypedArray> to represent possibly-null TypedArray structs. r=smaug
2013-08-05 13:40:01 -04:00
Randell Jesup
3f6b4f213a
Bug 825112: Enable opensles webrtc backend on gonk r=mwu,jesup,ted
...
--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-07-17 20:00:43 -04:00
Ehsan Akhgari
1949a827b5
Bug 900341 - Shut down the decoder object for an AudioContext from a runnable; r=bent,roc
2013-08-02 12:07:17 -04:00
Thomas Zimmermann
a0bcc67e59
Bug 831224: Use multi-threaded I/O for reading and processing MP3 frames, r=padenot
...
Reading large MP3 files from a slow medium, such as an SD card, takes
several seconds. This is too long for interactive applications like the
music app.
With this patch, the OmxDecoder reads large MP3 file in smaller chunks
and hands over each chunk individually to the MP3 parser. Reading the
file is done in the I/O thread, which is allowed to block, parsing is
done on the main thread.
The current chunk size is 8 MiB, which is small enough to not cause any
delay.
2013-05-06 20:07:29 +02:00
Robert O'Callahan
4108f3f1ec
Bug 878015. Make RoundUpToAudioBlock always advance to the next audio block. r=padenot
...
--HG--
extra : rebase_source : d931a0f144579bd7f7f57bd9e2c7d4ecc1700b27
2013-08-02 21:27:58 +12:00
Mike Hommey
d01b5df996
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Martijn Wargers
27733c8c8c
Bug 898696 - Fix some content/media test files by adding preload=metadata to media element. r=cpearce
2013-07-31 09:35:44 +02:00
Shelly Lin
d302c69c1f
Bug 895730 - AudioTrackEncoder should handle the case where audio chunk is null. r=roc
2013-07-31 12:21:29 +08:00
Shelly Lin
f2cdb2016a
Bug 894341 - Stop encoding data when the eos flag has written to ContainerWriter. r=roc
2013-07-29 14:29:08 +08:00
Ehsan Akhgari
5ee21d6d3f
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
9854ac6166
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Paul Adenot
0bdeab0a15
Bug 895720 - Actually use the fuzz value.
2013-07-30 11:10:33 +01:00
Paul Adenot
0e9230a9f2
Bug 895720 - On MacOS, increase the fuzz factor for test_audioBufferSourceNodeOffset.html.
2013-07-30 11:06:33 +01:00
Nicolas Silva
5ec3fda767
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
Ed Morley
a2a2b91464
Backed out changeset 0ad406a69f2c (bug 856361) for mochitest-1 failures in test_mediaElementAudioSourceNode.html on a CLOSED TREE
2013-07-29 09:56:06 +01:00
Ed Morley
e886bc252b
Backed out changeset 3f2c0edda4c2 (bug 856361)
2013-07-29 09:55:15 +01:00
Ed Morley
18ea386674
Backed out changeset f211d6754796 (bug 856361)
2013-07-29 09:55:12 +01:00
Ed Morley
2441ed84a8
Backed out changeset 2af84c01ac0c (bug 856361)
2013-07-29 09:55:09 +01:00
Ed Morley
e27efacff7
Backed out changeset 9e90a81b9e37 (bug 856361)
2013-07-29 09:55:06 +01:00
Ed Morley
bf60ac5060
Backed out changeset 3d6f6f06da5e (bug 856361)
2013-07-29 09:55:03 +01:00
Ed Morley
9f3a9d092c
Backed out changeset 911a11878522 (bug 855568)
2013-07-29 09:55:01 +01:00
Ed Morley
a080e31b98
Backed out changeset 3fbe86d67b6a (bug 856361)
2013-07-29 09:54:58 +01:00
Ed Morley
52a98c1f7f
Backed out changeset f7496fddb076 (bug 856361)
2013-07-29 09:54:52 +01:00
Robert O'Callahan
e401605bce
Bug 856361. Fix test bustage. r=me
...
--HG--
extra : rebase_source : fe7a3854f521518f80c3ae8d70bae13eadfca3b7
2013-07-29 16:56:36 +12:00
Robert O'Callahan
d1fbe85906
Bug 856361. Part 7: Address review comment. r=ehsan
2013-07-29 15:09:48 +12:00
Ehsan Akhgari
834dcf608d
Bug 855568 - Implement MediaElementAudioSourceNode. r=roc
...
--HG--
extra : rebase_source : f6b44a0400aeaa6a2075d16a3196f3db13d0afb5
2013-07-25 15:01:49 +12:00
Robert O'Callahan
ec2d522eff
Bug 856361. Part 6: Make MediaStreamAudioSourceNode keep its DOMMediaStream alive, and make the DOMMediaStream keep the MediaStreamAudioSourceNode alive. r=ehsan
...
--HG--
extra : rebase_source : b7172f79fbf0cacaaf10f812444444ba17ad00e9
2013-07-25 14:07:34 +12:00
secretrobotron
824c0706bb
Bug 856361. Part 5: Implement MediaStreamAudioSourceNode. r=ehsan
...
--HG--
extra : rebase_source : ee1a8c2dc39574aeb6165a063553489f08d19380
2013-07-24 23:29:39 +12:00
Robert O'Callahan
7215f3154f
Bug 856361. Part 4: Create AudioNodeExternalInputStream. r=ehsan
...
--HG--
extra : rebase_source : 6e172f800942b0f9f1aff047a142764da2dd57a3
2013-07-24 22:15:11 +12:00
Robert O'Callahan
410fc1c903
Bug 856361. Part 3: Refactor AudioNodeStream to create ComputeFinalOuputChannelCount, AccumulateInputChunk and AdvanceOutputSegment, and make AudioNodeStreams be treated as always consumed by the MediaStreamGraph. r=ehsan
...
--HG--
extra : rebase_source : 3c1fe8769dc616d0ea70f00e41d6952346ead491
2013-07-24 22:11:35 +12:00
Robert O'Callahan
4eea200b92
Bug 856361. Part 2: Block data from a non-same-origin media resource entering a MediaStream from a media element. r=cpearce
...
--HG--
extra : rebase_source : fd0ac711b6be627b87634b5a6c518c82ffd46448
2013-07-24 21:55:23 +12:00
Robert O'Callahan
ba4373aa8a
Bug 856361. Part 1: Fix documentation of MediaInputPort flags. r=jesup
...
--HG--
extra : rebase_source : 509fc344912aa6da728ad8dd10398ae501921ebb
2013-07-17 15:16:09 +12:00
Chris Pearce
73ed969053
Bug 846769 - OggReader::SeekBisection() should use granule end times, not start times. r=rillian
2013-07-29 10:03:21 +12:00
Chris Pearce
1a27e3fdb9
Bug 846769 - Mark Ogg frames with MediaResource offset, instead of (incorrectly) trying to infer and then use the offset of pages. r=rillian
2013-07-29 10:03:06 +12:00
Ryan VanderMeulen
f3f8beff11
Bug 894941 - Increase fuzz tolerance for the small-shot.ogg mediaDecoding test to resolve a CLOSED TREE.
2013-07-26 15:17:34 -04:00
Ryan VanderMeulen
cc5560c810
Merge m-c to inbound.
2013-07-26 14:20:01 -04:00
Ryan VanderMeulen
45725619fb
Backed out changesets f2862e93b710, 4fe81f58dbef, and f8f855f0b7dc (bug 896353) for mochitest-1 asserts.
2013-07-26 14:08:29 -04:00
Martijn Wargers
197d05aa66
Bug 896582 - Implement a workaround to bug 838726 to get a bunch of content/media mochitests running on B2G. r=jgriffin
2013-07-25 22:32:17 +02:00
Randy Lin
6332de0fa1
Bug 896353 - Media Recording - Test case for record the MediaStream from audioContext. r=jsmith
2013-07-26 10:47:56 +08:00
Randy Lin
2bbe975e86
Bug 896353 - Media Recording - Can't record the mediaStream created by AudioContext. r=roc
2013-07-26 20:29:41 +08:00
JW Wang
204aa9965c
Bug 896353 - Set principal for mDOMStream in MediaStreamAudioDestinationNode. r=roc.
2013-07-23 11:54:32 +08:00
Ed Morley
817db8cfd2
Merge mozilla-central and birch
2013-07-25 17:05:50 +01:00
Ryan VanderMeulen
206ac36c27
Backed out changesets 73188e11f7b1 and 7111c04c1158 (bug 896353) for mochitest-1 crashes.
2013-07-25 10:31:48 -04:00
Randy Lin
9904918cc0
Bug 896353 - Media Recording - Can't record the mediaStream created by AudioContext. r=roc
2013-07-24 18:01:52 +08:00
JW Wang
f947c31e56
Bug 896353 - Set principal for mDOMStream in MediaStreamAudioDestinationNode. r=roc
2013-07-23 11:54:32 +08:00
Randy Lin
92bab7040b
Bug 896303 - Media Recording - Calling start on a MediaRecorder object with no parameters results in ondataavailable events firing even though they shouldn't be. r=roc
2013-07-24 17:26:17 +08:00
Paul Adenot
c1209fd32c
Bug 882543 - Use a linked list for ordering stream instead of an array. r=ehsan
2013-07-19 16:40:58 +02:00
Paul Adenot
8978ed9178
Bug 882543 - Register the MSG thread for in the profiler. r=benwa
2013-07-19 16:40:57 +02:00
Paul Adenot
3f5580c2da
Bug 882543 - Don't spam the main thread when rendering an offline graph. r=ehsan,roc
2013-07-19 16:40:57 +02:00
Paul Adenot
3a1bbd5d18
Bug 882543 - Actually run offline MSG offline. r=roc
2013-07-19 16:40:57 +02:00
Paul Adenot
77d11314c9
Bug 882543 - Retain storage for media streams accross iterations instead of reallocating. r=jlebar,roc
2013-07-19 16:40:56 +02:00
Peter Chang
416da61282
Bug 894262 - Merge GonkIOSurfaceImage to GrallocImage, r=nical, kanru
2013-07-25 10:13:35 +08:00
Ryan VanderMeulen
4089fb5f64
Merge m-c to inbound.
2013-07-24 18:27:51 -04:00
Sotaro Ikeda
78260530d7
Bug 896374 - Fix infinite loop in MediaResourceManagerService::cancelClientLocked(). r=doublec
2013-07-24 08:55:30 -04:00
Ms2ger
834f814430
Merge m-c to inbound.
2013-07-24 11:53:22 +02:00
Ms2ger
36f3f6ae03
Bug 885170 - Remove nsINode::GetClassInfo(); r=peterv
2013-07-24 09:31:06 +02:00
Ms2ger
fb6790e6d8
Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps
2013-07-24 09:23:06 +02:00
Nicolas Silva
5d2089d328
Bug 858914 - Mark some Image related classes deprecated. r=jrmuizel DONTBUILD
2013-07-24 18:08:35 +02:00
Nicolas Silva
7a55cdf819
Backed out changeset 9089fe288899
2013-07-24 18:01:39 +02:00
Nicolas Silva
a6bf10f5a6
Bug 868914 - Mark some Image related classes deprecated. r=jrmuizel
2013-07-24 17:43:35 +02:00
Matthew Gregan
8912b984d1
Bug 895754 - Update VideoPlaybackQuality to current MSE spec (remove playbackJitter, add totalFrameDelay). r=doublec
2013-07-24 11:46:43 +12:00
Robert O'Callahan
a20b43c5a8
Bug 890716. Fix race in Reverb::Reverb. r=padenot
...
--HG--
extra : rebase_source : 65af577f5ffcf7f7a0b650f1693f4159ddac4ac6
2013-07-26 13:35:22 +12:00
Boris Zbarsky
0d417e5c5f
Bug 895974. Implement ParentNode on document fragments and documents and move previousElementSibling and nextElementSibling to ChildNode. r=smaug
2013-07-22 08:15:43 -04:00
Joshua Cranmer
08dac03f44
Bug 884061 - Part 3d: Use NS_DECL_THREADSAFE_ISUPPORTS in content/, r=smaug
...
--HG--
extra : rebase_source : ee869e0ec710259b1f3d1a328bff27c5d2960ea1
2013-07-18 21:21:19 -05:00
Joshua Cranmer
5de0e3c9a1
Bug 884061 - Part 1: Use mozilla::Atomic in NS_DECL_INLINE_THREADSAFE_REFCOUNTING, r=jlebar
...
--HG--
extra : rebase_source : a3a987a2a4a52603e0461f40396cca06b6cbe989
2013-07-13 20:18:03 -05:00
Randy Lin
c72ae6e277
Bug 894348 - MediaRecorder use-after-free crash [@mozilla::MediaStream::GraphImpl]. Fix the wrong pointer type of ProcessedMediaStream. r=roc
2013-07-21 22:33:01 +08:00
Ralph Giles
87be796147
Bug 894104 - Part 3: remove TextTrackCue's mGlobal. r=bz
...
From 095c76c72dd5915b2fa8ec74f4e2b0b45de244f1 Mon Sep 17 00:00:00 2001
Since we keep a document reference we no longer need the
separate global. It was only used in GetParentObject() and
we can return nullptr there (meaning 'use whatever magic global')
or return the document instead, which is what this patch does.
2013-07-18 15:01:48 -07:00
Ralph Giles
9351dd7188
Bug 894104 - Part 2: Add testcase to crashtests. r=bz
...
From d94dd7dde357ccf7f6de53c1fae20a9bdb916a86 Mon Sep 17 00:00:00 2001
2013-07-18 14:28:45 -07:00
Ralph Giles
5dd627ae07
Bug 894104 - Part 1: Retain a document reference for GetCueAsHTML.
...
From 447985000db919e2f054012ca10f03d626c401b1 Mon Sep 17 00:00:00 2001
r=bz
Save a copy of the owning document at creation time instead
of looking it up from mGlobal in each call. This ensures it
is available even if we're called after our window is unlinked
at teardown.
Make the constructors throw if a window is not available,
so we can return an INVALID_STATE_ERR if we're called
in an incomplete environment.
2013-07-16 22:14:40 -07:00
Chris Pearce
17b7189b27
Bug 896307 - Use MediaResource::ReadAt() in WMFByteStream. r=padenot
2013-07-23 10:43:22 +12:00
Jason Smith
b1f56ecb1f
Bug 896302 - Add a mochitest for creation of a media recorder object. r=roc
2013-07-21 18:37:42 -07:00
Robert O'Callahan
9ea4ed3b64
Bug 891238. Don't resume reading from a paused connection if we still have plenty of data cached. This could save power. r=cpearce
...
--HG--
extra : rebase_source : 89e0951e9e8ccef628a99ab4b3f07dbe7ff79989
2013-07-19 21:00:19 +12:00
Edwin Flores
0beedadc37
Bug 889699 - Make gstreamer backend return more accurate results for canPlayType() r=alessandro.d
2013-07-20 12:03:08 +12:00
Ryan VanderMeulen
66c2f17999
Bug 832768 - Disable test_playback_rate.html and test_seek.html due to frequent timeouts.
...
CLOSED TREE
2013-07-19 16:07:38 -04:00
Ryan VanderMeulen
ad10ee51ab
Backed out 5 changesets (bug 882543) for crashtest orange on a CLOSED TREE.
...
Backed out changeset b36516aab389 (bug 882543)
Backed out changeset 07550003a24a (bug 882543)
Backed out changeset f4045c40afb4 (bug 882543)
Backed out changeset 1b87e0bd2858 (bug 882543)
Backed out changeset 8d76a3440800 (bug 882543)
2013-07-19 12:00:48 -04:00
Paul Adenot
e9213cc266
Bug 882543 - Use a linked list for ordering stream instead of an array. r=ehsan
2013-07-19 16:40:58 +02:00
Paul Adenot
f6754911f0
Bug 882543 - Register the MSG thread for in the profiler. r=benwa
2013-07-19 16:40:57 +02:00
Paul Adenot
5e7c432be4
Bug 882543 - Don't spam the main thread when rendering an offline graph. r=ehsan,roc
2013-07-19 16:40:57 +02:00
Paul Adenot
1ab3b34729
Bug 882543 - Actually run offline MSG offline. r=roc
2013-07-19 16:40:57 +02:00
Paul Adenot
a51d5aa3f9
Bug 882543 - Retain storage for media streams accross iterations instead of reallocating. r=jlebar,roc
2013-07-19 16:40:56 +02:00
Paul Adenot
886696b46e
Bug 886173 - Preserve playbackRate across pause/play. r=cpearce
2013-07-11 16:58:57 +02:00
Mike Hommey
b5159c1c4c
Backout changeset 40f9e902464a (bug 889699) because of Linux crashes on a CLOSED TREE
2013-07-19 15:59:42 +09:00
Edwin Flores
aeddabc415
Bug 889699 - Make gstreamer backend return more accurate results for canPlayType() r=alessandro.d
2013-07-19 15:31:11 +12:00
Ehsan Akhgari
2e9a3a5936
Bug 891254 - Fix the usage of uninitialized samples when the input to a ConvolverNode has a volume; r=roc
...
--HG--
extra : rebase_source : 2d7e6c393e66096cf410adce0924843ad2eda61b
2013-07-18 10:22:47 -04:00
Paul Adenot
cae697e35c
Bug 883591 - Don't allow creating a MediaStreamDestinationNode on an OfflineAudioContext. r=ehsan
2013-07-18 11:57:38 +02:00
Boris Zbarsky
9af6d565fa
Bug 893004 part 2. Remove various no-longer-used XPCOM bits from Navigator, except the ones from nsIDOMNavigator. r=smaug
...
--HG--
rename : dom/network/interfaces/nsIDOMNavigatorNetwork.idl => dom/network/interfaces/nsIMozNavigatorNetwork.idl
2013-07-17 23:23:52 -04:00
Paul Adenot
d8fa3b15c0
Bug 894150 - Unregister the PannerNode in the AudioListener when destroying the stream. r=ehsan
2013-07-16 14:45:41 +02:00
Chris Double
f341d51ee6
Bug 894148 - Implement MediaResource::ReadAt for threadsafe seek+read - r=cpearce
2013-07-17 13:54:52 +12:00
Ryan VanderMeulen
4d4078f8cb
Backed out 2 changesets (bug 894150) for crashtest orange.
...
Backed out changeset 80ce41a4e6ee (bug 894150)
Backed out changeset b41c7f2ddda5 (bug 894150)
2013-07-16 12:33:56 -04:00
Paul Adenot
b266047b79
Bug 894150 - Test.
2013-07-16 17:39:13 +02:00
Nathan Froyd
32842a584e
Bug 901615 - don't include BindingUtils.h in AudioContext.h; r=roc
2013-08-05 13:40:06 -04:00
Paul Adenot
b07edfc4a2
Bug 897092 - Fix setTargetAtTime glitch. r=ehsan
...
--HG--
extra : rebase_source : 8b1162e7721637df2b8a2faad849609d3177369b
2013-08-09 15:11:03 +02:00
Marcus Saad
8b4f8baa85
Bug 882743 - Make TextTrackCue setters throw. r=rillian, r=bz
...
From 8f5dccf7fd5f5d2a74341ead60586346e4ab3ead Mon Sep 17 00:00:00 2001
Now throwing javascript exceptions from attribute setters for TextTrack-related DOM classes.
As can be seen in http://dev.w3.org/html5/webvtt/#webvtt-api , some of the attributes require validation and throwing.
There is no validation implemented to the align property because there is a bug opened against the spec to change it to an Enum.
When cleared, it should have the IDL changed to remove the throwing.
Validation comments were removed from the properties that didn't have proper validation defined by the spec.
2013-07-24 14:18:54 -04:00
Trevor Saunders
e59057dee7
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Paul Adenot
f2c6d51eea
Bug 894150 - Unregister the PannerNode in the AudioListener when destroying the stream. r=ehsan
2013-07-16 14:45:41 +02:00
Brian O'Keefe
a2b1403eb0
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Paul Adenot
3272f71ce4
Bug 891986 - Keep the source ArrayBuffer to a decodeAudioData call alive until the decoding is complete. r=mccr8,ehsan
2013-07-16 11:00:36 +02:00
Ryan VanderMeulen
b39f89045b
Bug 832768 - Disable test_buffered.html due to frequent timeouts.
2013-07-15 11:45:10 -04:00
Rick Eyre
0f5638b7d3
Bug 882706 - Implement TextTrackList::GetTrackById(). r=rillian
...
I've also added an Id attribute to the TextTrack implementation as it wasn't
there yet.
2013-07-09 11:44:35 -04:00
Randy Lin
00842ad22a
Bug 891722 - Media Recording - The rate of ondataavailable events spikes adnormally high after starting, stopping, and starting recording again. r=roc
2013-07-14 15:04:10 +08:00
Randy Lin
cbc093a476
Bug 889720 - Media Recording - Implement Pause/Resume DOM API. r=roc
2013-07-14 15:31:59 +08:00
Mike Hommey
0f994f506e
Bug 887483 - Remove some more useless FORCE_STATIC_LIB and leftover comments from previous removal. r=mshal
2013-07-15 18:48:40 +09:00
Ryan VanderMeulen
649f8e6426
Merge m-c to inbound.
2013-07-12 22:32:46 -04:00
Sotaro Ikeda
9c866b9030
Bug 891445 - Fix incorrect pointer comparison. r=doublec
2013-07-12 17:27:17 -04:00
Ryan VanderMeulen
db7ca92e0a
Bug 832768, bug 864682, bug 707777 - Disable flaky media tests until they aren't anymore.
2013-07-12 16:14:58 -04:00
Paul Adenot
aacae3cd50
Bug 892492 - Fix automation on AudioBufferSourceNode.playbackRate. r=ehsan
2013-07-12 11:23:21 +02:00
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Paul Adenot
043fd87042
Bug 886653 - Don't call speex_resampler_skip_zeros when changing the rate in AudioBufferSourceNode. r=ehsan
2013-07-12 17:21:51 +02:00
Alexandros Chronopoulos
11863355c2
Bug 790559 - Part 2: Correct test_framebuffer.html mochitest to expect two channels. r=rillian
2013-06-21 00:31:22 +03:00
Alexandros Chronopoulos
162156997a
Bug 790559 - Part 1: Apply DownmixToStereo function when decode multichannel Opus and Vorbis. r=rillian
2013-04-24 20:29:44 +03:00
Thomas Zimmermann
79d1b1351b
Bug 831224: Parse MP3 frame headers in OmxDecoder, r=padenot
...
On FirefoxOS, the Android libraries estimate the duration of MP3 streams
by examining the first MP3 frame header. This only works for streams with
constant bit rate. For streams with variable bit rate, a too short or too
long duration is computed.
This patch adds support for parsing MP3 frame headers. The decoder handles
file streams by reading them at once at the beginning and parsing them
immediately. Network streams are updated when a new fragment arrives.
2013-01-24 13:38:32 +01:00
Thomas Zimmermann
029ae7c49e
Bug 831224: Allow update of the media duration, r=padenot
...
With MP3 streams, the media duration might change after we received
new data. This patch adds infrastructure to signal the new duration
to the media decoder and state machine. It will also fire an event
of type 'durationchange' to the DOM.
2013-05-03 09:48:37 +02:00
Thomas Zimmermann
156ef9939c
Bug 831224: Added MP3 frame parser, r=padenot
...
MP3 streams consist of small frames, with each frame containing the
audio data of a few hundred milliseconds. The actual duration of the
encoded audio can among frames.
Each frame consists of a 4-byte frame header, some optional extra
information, and the audio data. The MP3 frame parser walks over the
content of an MP3 stream, computes the duration of each frame from
the frame header, and sums them up to the streams complete duration.
The MP3 frame parser does not decode the actual audio data.
2013-05-03 09:44:02 +02:00
Thomas Zimmermann
d184108c32
Bug 831224: Remove trailing whitespaces, r=padenot
2013-01-24 13:38:32 +01:00
Randy Lin
9e2e522185
Bug 900419 - Media Recording - MediaRecorder's state is wrong when stopping media stream during recording. r=roc
2013-08-01 18:38:57 +08:00
Randy Lin
ea7a1b0a14
Bug 898952 - Media Recording - Avoid to record a stopped MediaStream. r=roc
2013-08-07 14:20:42 +08:00
Randy Lin
4b48487cb3
Bug 896353 - Media Recording - Test case for record the MediaStream from audioContext. r=jsmith
2013-07-26 10:47:56 +08:00
Randy Lin
b9e2c7a240
Bug 896353 - Media Recording - Can't record the mediaStream created by AudioContext. r=roc
2013-07-26 20:29:41 +08:00
JW Wang
704634eff4
Bug 896353 - Set principal for mDOMStream in MediaStreamAudioDestinationNode. r=roc
2013-07-23 11:54:32 +08:00
JW Wang
2c6d744e50
Bug 882171 - Part 2: Call NEON implementation. r=ehsan
2013-08-07 11:37:01 +08:00
JW Wang
b16efa1540
Bug 882171 - Part 1: Add NEON implementation of AudioNodeEngine.cpp. r=roc, r=padenot, r=derf
2013-08-07 11:39:47 +08:00