Commit Graph

1688 Commits

Author SHA1 Message Date
Ehsan Akhgari
72c22e72bf Bug 848651 - Part 2: Log an error to the Web Console if we run out of memory while trying to resample an AudioBuffer for playback; r=padenot 2013-03-08 11:49:56 -05:00
Ehsan Akhgari
f72f2cc00d Bug 848651 - Part 1: Implement resampling of audio buffers to be able to play back buffers with a different sample rate than the AudioContext; r=padenot 2013-03-07 18:14:46 -05:00
John Schoenick
641d5f2a6c Bug 849067 - Unbreak gstreamer builds again. r=cpearce 2013-03-07 17:44:00 -08:00
Randell Jesup
32de0d2510 Bug 839650: Add debugs to MediaStreamGraph to ease investigation of issues in the future r=roc 2013-03-07 03:53:45 -05:00
Ed Morley
c812c5d9f0 Backed out changeset be1ee54becf4 (bug 839650) for build failures 2013-03-07 09:10:47 +00:00
Randell Jesup
7364d8f8e9 Bug 839650: Add debugs to MediaStreamGraph to ease investigation of issues in the future r=roc 2013-03-07 03:53:45 -05:00
Ehsan Akhgari
0343d8a94f Bug 846329 - Fix decodeAudioData to decode all channels and not only the first one; r=padenot 2013-03-04 21:27:13 -05:00
Thomas Zimmermann
4c60c029bd Bug 834172 - Remove GStreamer flags from webaudio Makefile. r=cpearce
With the move of all codec-specific code to DecoderTraits, there is no
need to pass compiler flags for GStreamer when building the webaudio
library. This patch updates the Makefile template accordingly.
2013-03-05 09:56:35 -05:00
Thomas Zimmermann
dd35d44942 Bug 834172 - Don't export codec functions from DecoderTraits. r=cpearce
All codec-specific code is hidden within DecoderTraits and available
from generic interfaces. This patch removes the codec-specific
functions from DecoderTraits' public interface.
2013-03-05 09:56:35 -05:00
Thomas Zimmermann
00c7a35b3f Bug 834172 - Implement CreateReader in DecoderTraits. r=cpearce
MediaDecoderReaders are now created from within DecoderTraits. The
codec-specific code has been removed from class MediaDecodeTask.
2013-03-05 09:56:35 -05:00
Thomas Zimmermann
0b33333206 Bug 834172 - Implement IsSupportedTypeInVideo in DecoderTraits. r=cpearce
This change moves the policy of supported media types in the element
nsHTMLMediaElement to the DecoderTraits class. The codec-specific code
has been removed from the media element.
2013-03-05 09:56:35 -05:00
Thomas Zimmermann
3f3ba124ad Bug 834172 - Implement CreateDecoder in DecoderTraits. r=cpearce
The class DecoderTraits knows about all supported decoders. Adding
an interface to create decoder instances simplifies all users of this
functionality. nsHtmlMediaElement has been updated to use the new
function.
2013-03-05 09:56:34 -05:00
Ehsan Akhgari
3752b6a571 Bug 836076 - Part 6: Hook up GainNode to the MediaStreams back-end to enable controlling the volume of the audio being played back; r=roc 2013-01-29 18:37:51 -05:00
Ehsan Akhgari
e7fa51e726 Bug 836076 - Part 5: Provide an API for converting event times to tick values; r=roc 2013-03-01 17:06:03 -05:00
Ehsan Akhgari
3efc9b4242 Bug 836076 - Part 4: Move AudioEventTimeline::Event outside of AudioEventTimeline to be able to specialize its template members; r=roc 2013-03-01 17:01:43 -05:00
Ehsan Akhgari
0d68519dd2 Bug 845960 - Fix a crash resulted from a missing nullcheck for the optional failure callback of decodeAudioData; r=bzbarsky 2013-03-04 23:04:51 -05:00
Randell Jesup
c92ed777f4 Bug 842715: Refactor gUM prefs use to be on mainthread, and prepare for constraints r=derf 2013-03-04 16:02:17 -05:00
Steve Workman
eeeff3c18a Bug 838315 - Avoid race condition for switching during a seek r=cpearce 2013-03-01 11:52:39 -08:00
Jeff Walden
1871e9f3f8 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Mike Hommey
6f9f0e63b2 Bug 842327 - Move libomxplugin* at the root of the apk. r=doublec,r=khuey 2013-03-04 19:34:03 +01:00
Alessandro Decina
2f8be452a2 Bug 808319 - Fix some GCC warnings in GStreamerReader.cpp r=rillian,alessandro.d 2013-03-03 23:56:00 -08:00
Ryan VanderMeulen
47aa8f5a0b Backed out 5 changesets (bug 834172) for Android build bustage. 2013-03-04 11:17:36 -05:00
Thomas Zimmermann
e8867cbcfe Bug 834172 - Remove GStreamer flags from webaudio Makefile. r=cpearce
With the move of all codec-specific code to DecoderTraits, there is no
need to pass compiler flags for GStreamer when building the webaudio
library. This patch updates the Makefile template accordingly.
2013-03-04 10:24:45 -05:00
Thomas Zimmermann
21980a8156 Bug 834172 - Don't export codec functions from DecoderTraits. r=cpearce
All codec-specific code is hidden within DecoderTraits and available
from generic interfaces. This patch removes the codec-specific
functions from DecoderTraits' public interface.
2013-03-04 10:24:45 -05:00
Thomas Zimmermann
81df5828a7 Bug 834172 - Implement CreateReader in DecoderTraits. r=cpearce
MediaDecoderReaders are now created from within DecoderTraits. The
codec-specific code has been removed from class MediaDecodeTask.
2013-03-04 10:24:45 -05:00
Thomas Zimmermann
d634135a54 Bug 834172 - Implement IsSupportedTypeInVideo in DecoderTraits. r=cpearce
This change moves the policy of supported media types in the element
nsHTMLMediaElement to the DecoderTraits class. The codec-specific code
has been removed from the media element.
2013-03-04 10:24:44 -05:00
Thomas Zimmermann
bad04aa1d2 Bug 834172 - Implement CreateDecoder in DecoderTraits. r=cpearce
The class DecoderTraits knows about all supported decoders. Adding
an interface to create decoder instances simplifies all users of this
functionality. nsHtmlMediaElement has been updated to use the new
function.
2013-03-04 10:24:44 -05:00
Ed Morley
16c652ac7d Backed out changeset 9a0c5073da59 (bug 846687) for test_seek.html failures 2013-03-04 11:25:08 +00:00
Paul Adenot
aff56c1a2c Bug 846687 - Set the transport as non-seekable if the server sends Accept-Ranges, but no Content-Duration. r=cpearce 2013-03-01 19:55:01 +01:00
Benjamin Peterson
1510d945c6 Bug 847088 followup - Reference type with correct namespace. 2013-03-03 13:27:36 -05:00
Andrea Marchesini
d3300ae125 Bug 847088 - Fix gstreamer backend, which was broken by TimeRange changes. r=benjamin
--HG--
extra : amend_source : c1780a6d76ba11d0123d0637b4a8c0b95ac57f90
2013-03-03 12:01:05 -05:00
Andrea Marchesini
2de1d7cad4 Bug 841014 - Rename nsTimeRanges.h to TimeRanges.h. r=Ms2ger
--HG--
rename : content/html/content/src/nsTimeRanges.cpp => content/html/content/src/TimeRanges.cpp
rename : content/html/content/src/nsTimeRanges.h => content/html/content/src/TimeRanges.h
2013-03-02 14:14:44 -05:00
Ms2ger
6afbfa87f0 Bug 846769 - Allow up to five assertions in test_seek.html. 2013-03-02 10:23:39 +01:00
Paul Adenot
127305a140 Bug 846769 - The assertion also happens on Linux, pushing on a CLOSED TREE. r=RyanVM 2013-03-01 17:58:12 +01:00
Paul Adenot
8649f9122a Bug 846769 - Another assertion can happen, and is not windows-only, on a CLOSED TREE r=RyanVM 2013-03-01 17:08:54 +01:00
Paul Adenot
fcf3aa7ec0 Bug 634747 - Expect some assertions on windows on test_seek.html while we investigate. r=edmorley 2013-03-01 15:18:58 +01:00
Paul Adenot
d103fc2cea Bug 845633 - Make an assertion less spammy when audio hardware is not present. r=kinetik 2013-02-28 18:11:04 +01:00
Paul Adenot
b521312737 Bug 846320 - Offset mBasePosition by mStartTime when seeking. r=kinetik 2013-02-28 16:05:50 +01:00
Paul Adenot
61616fe6ab Bug 846320 - Remove SimpleTest.expectAssertions in test_seek.html. r=dbaron 2013-02-28 16:07:58 +01:00
L. David Baron
0c9f5b4949 Bug 404077: Adjust annotations of expected assertions. 2013-02-28 17:59:07 -08:00
L. David Baron
7f46d4198e Bug 404077: Adjust annotations of expected assertions. 2013-02-28 12:44:57 -08:00
Paul Adenot
3fc6dcfcc8 Bug 845676 - Remove most of the assertion annotations in the content/media mochitests. r=dbaron 2013-02-28 18:33:28 +01:00
Paul Adenot
c6f168b33a Bug 845676 - Initialize mPausedForPlaybackRateNull in MediaDecoder constructor to prevent an assertion. r=kinetik 2013-02-27 20:38:11 +01:00
Ehsan Akhgari
96ff7c5a62 Bug 838065 - Re-enable the decodeAudioData tests; r=roc 2013-02-27 16:59:46 -05:00
Randell Jesup
0c0072ee92 Bug 846103: Make MediaStream::RemoveListener() callable on Destroy()ed streams r=roc 2013-02-28 14:53:38 -05:00
Ms2ger
8fedd090cc Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
e1b210ddf6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
0c8ee65118 Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ed Morley
d9ab95bc30 Backed out changeset dba7a059ed22 (bug 843214) 2013-02-27 12:49:26 +00:00
Ms2ger
aea301eee3 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00