Ehsan Akhgari
8dc074cef8
Bug 812390 - Protect against NaN in AudioContext.createDelay; r=bzbarsky
2012-11-15 17:48:04 -08:00
Randell Jesup
52d8acc98e
Bug 802399: set capture index for audio input when device is Allocate()ed, plug VoEHw leak r=derf
2012-11-15 18:23:39 -05:00
Randell Jesup
4e788c410e
Bug 811695: disable internal socket transports for getUserMedia Audio capture r=derf
2012-11-15 17:58:40 -05:00
Benoit Jacob
a1d7e0f511
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Benoit Jacob
ee1217da86
Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
David Zbarsky
bfca907d39
No bug, fix struct/class mismatch warnings
2012-11-14 21:38:26 -05:00
Ehsan Akhgari
bb1d6972af
Bug 811864 - Remove PannerNode.coneGain/distanceGain; r=bzbarsky
2012-11-14 13:03:24 -08:00
Ehsan Akhgari
d6aa3be16d
Bug 811555 - Make AudioContext.createDelay not accept arguments greater than or equal to 3; r=bzbarsky
...
--HG--
extra : rebase_source : 5ad2006acb9c27ba7f94c0d1858a19d71cc663c4
2012-11-13 16:46:25 -08:00
Chris Pearce
9abb830db0
Bug 811381 - Remove ns prefix from media code. r=roc
...
--HG--
rename : content/media/nsAudioAvailableEventManager.cpp => content/media/AudioAvailableEventManager.cpp
rename : content/media/nsAudioAvailableEventManager.h => content/media/AudioAvailableEventManager.h
rename : content/media/nsAudioStream.cpp => content/media/AudioStream.cpp
rename : content/media/nsAudioStream.h => content/media/AudioStream.h
rename : content/media/nsMediaCache.cpp => content/media/MediaCache.cpp
rename : content/media/nsMediaCache.h => content/media/MediaCache.h
rename : content/media/nsBuiltinDecoder.cpp => content/media/MediaDecoder.cpp
rename : content/media/nsBuiltinDecoder.h => content/media/MediaDecoder.h
rename : content/media/nsBuiltinDecoderReader.cpp => content/media/MediaDecoderReader.cpp
rename : content/media/nsBuiltinDecoderReader.h => content/media/MediaDecoderReader.h
rename : content/media/nsBuiltinDecoderStateMachine.cpp => content/media/MediaDecoderStateMachine.cpp
rename : content/media/nsBuiltinDecoderStateMachine.h => content/media/MediaDecoderStateMachine.h
rename : content/media/dash/nsDASHDecoder.cpp => content/media/dash/DASHDecoder.cpp
rename : content/media/dash/nsDASHDecoder.h => content/media/dash/DASHDecoder.h
rename : content/media/dash/nsDASHReader.cpp => content/media/dash/DASHReader.cpp
rename : content/media/dash/nsDASHReader.h => content/media/dash/DASHReader.h
rename : content/media/dash/nsDASHRepDecoder.cpp => content/media/dash/DASHRepDecoder.cpp
rename : content/media/dash/nsDASHRepDecoder.h => content/media/dash/DASHRepDecoder.h
rename : content/media/gstreamer/nsGStreamerDecoder.cpp => content/media/gstreamer/GStreamerDecoder.cpp
rename : content/media/gstreamer/nsGStreamerDecoder.h => content/media/gstreamer/GStreamerDecoder.h
rename : content/media/gstreamer/nsGStreamerReader.cpp => content/media/gstreamer/GStreamerReader.cpp
rename : content/media/gstreamer/nsGStreamerReader.h => content/media/gstreamer/GStreamerReader.h
rename : content/media/ogg/nsOggCodecState.cpp => content/media/ogg/OggCodecState.cpp
rename : content/media/ogg/nsOggCodecState.h => content/media/ogg/OggCodecState.h
rename : content/media/ogg/nsOggDecoder.cpp => content/media/ogg/OggDecoder.cpp
rename : content/media/ogg/nsOggDecoder.h => content/media/ogg/OggDecoder.h
rename : content/media/ogg/nsOggReader.cpp => content/media/ogg/OggReader.cpp
rename : content/media/ogg/nsOggReader.h => content/media/ogg/OggReader.h
rename : content/media/omx/nsMediaOmxDecoder.cpp => content/media/omx/MediaOmxDecoder.cpp
rename : content/media/omx/nsMediaOmxDecoder.h => content/media/omx/MediaOmxDecoder.h
rename : content/media/omx/nsMediaOmxReader.cpp => content/media/omx/MediaOmxReader.cpp
rename : content/media/omx/nsMediaOmxReader.h => content/media/omx/MediaOmxReader.h
rename : content/media/plugins/nsMediaPluginDecoder.cpp => content/media/plugins/MediaPluginDecoder.cpp
rename : content/media/plugins/nsMediaPluginDecoder.h => content/media/plugins/MediaPluginDecoder.h
rename : content/media/plugins/nsMediaPluginHost.cpp => content/media/plugins/MediaPluginHost.cpp
rename : content/media/plugins/nsMediaPluginHost.h => content/media/plugins/MediaPluginHost.h
rename : content/media/plugins/nsMediaPluginReader.cpp => content/media/plugins/MediaPluginReader.cpp
rename : content/media/plugins/nsMediaPluginReader.h => content/media/plugins/MediaPluginReader.h
rename : content/media/raw/nsRawDecoder.cpp => content/media/raw/RawDecoder.cpp
rename : content/media/raw/nsRawDecoder.h => content/media/raw/RawDecoder.h
rename : content/media/raw/nsRawReader.cpp => content/media/raw/RawReader.cpp
rename : content/media/raw/nsRawReader.h => content/media/raw/RawReader.h
rename : content/media/raw/nsRawStructs.h => content/media/raw/RawStructs.h
rename : content/media/wave/nsWaveDecoder.cpp => content/media/wave/WaveDecoder.cpp
rename : content/media/wave/nsWaveDecoder.h => content/media/wave/WaveDecoder.h
rename : content/media/wave/nsWaveReader.cpp => content/media/wave/WaveReader.cpp
rename : content/media/wave/nsWaveReader.h => content/media/wave/WaveReader.h
rename : content/media/webm/nsWebMBufferedParser.cpp => content/media/webm/WebMBufferedParser.cpp
rename : content/media/webm/nsWebMBufferedParser.h => content/media/webm/WebMBufferedParser.h
rename : content/media/webm/nsWebMDecoder.cpp => content/media/webm/WebMDecoder.cpp
rename : content/media/webm/nsWebMDecoder.h => content/media/webm/WebMDecoder.h
rename : content/media/webm/nsWebMReader.cpp => content/media/webm/WebMReader.cpp
rename : content/media/webm/nsWebMReader.h => content/media/webm/WebMReader.h
2012-11-14 11:46:40 -08:00
Chris Pearce
42d7fd21b1
Bug 811381 - Move media code into mozilla namespace. r=roc
2012-11-14 11:45:33 -08:00
Chris Pearce
43653d0ccc
Bug 811381 - Move NextFrameStatus to MediaDecoderOwner, so that nsHTMLMediaElement doesn't need to include all of nsBuiltinDecoder. r=roc
2012-11-14 11:45:31 -08:00
Chris Pearce
f9e8b1f20a
Bug 811381 - Flatten nsMediaDecoder and nsBuiltinDecoder into a single class. r=roc
2012-11-14 11:45:13 -08:00
Randell Jesup
dde7ff9d8c
Bug 809554: if a device has no uniqueId, use the name r=derf
2012-11-12 20:46:52 -05:00
Ehsan Akhgari
5c3198f30a
Bug 809882 - Disallow non-positive arguments to AudioContext.createDelay; r=bzbarsky
2012-11-08 13:17:22 -05:00
Ehsan Akhgari
f739744839
Bug 810177 - Part 4: Make nsMediaDecoder not depend on nsHTMLMediaElement; r=cpearce
...
The basic idea in this patch is to create an MediaDecoderOwner
interface which nsHTMLMediaElement would implement, and put everything
needed by nsMediaDeocder on that interface. In addition to that,
there are a number of other cleanup patches which enables us to
eliminate many of the nsHTMLMediaElement.h #includes in the media code.
2012-11-09 00:52:53 -05:00
Ehsan Akhgari
94d2c303e6
Bug 810177 - Part 3: Move the IsFormatEnabled methods from nsHTMLMediaElement to nsMediaDecoder; r=cpearce
...
This patch moves the various Is{Format}Enabled methods to
nsMediaDecoder. These methods are all implemented on top of prefs, and
they logically belong to the decoder class, because it needs to know
what media types it should be able to decode. This also helps reduce
the dependency on nsHTMLMediaElement.h.
2012-11-08 21:46:10 -05:00
Ehsan Akhgari
0704216980
Bug 810177 - Part 2: Break MetadataTags out of nsHTMLMediaElements; r=cpearce
...
This patch simply moves the MetadataTags typedef to nsMediaDecoder.h to
reduce the dependencies on nsHTMLMediaElements.h. The rest of the
changes are made to make this compile.
2012-11-08 19:40:08 -05:00
Ehsan Akhgari
12f30adf52
Bug 810177 - Part 1: Move NextFrameStatus to nsMediaDecoder; r=cpearce
...
This patch simply moves the NextFrameStatus enum to nsMediaDecoder and
reorganizes things so that they compile again.
2012-11-08 18:22:32 -05:00
Chris Pearce
f462e42fad
Bug 799344 - Remove virtual from media state machine methods, since they're not inherited. r=roc
2012-11-07 11:33:02 +13:00
Chris Pearce
dc33e1da54
Bug 799344 - Flatten nsBultinDecoderStateMachine and nsDecoderStateMachine into a single class. r=roc
2012-11-07 11:33:02 +13:00
Chris Pearce
3b143c4c58
Bug 799344 - Un-templatify nsBuiltinDecoderReader::DecodeToFirstData() so that we don't need to know nsBuiltinDecoderStateMachine's interface in nsBuiltinDecoderReader.h. This means that nsBuiltinDecoderReader.h doesn't need to include nsBuiltinDecoderStateMachine.h when we move the state machine declaration from nsBuiltinDecoder.h to nsBuiltinDecoderStateMachine.h (in a later patch). nsBuiltinDecoderStateMachine.h needs to include nsBuiltinDecoderReader.h, so if nsBuiltinDecoderReader.h needed to include nsBuiltinDecoderStateMachine.h we'd have an include cycle, which is bad. r=roc
2012-11-07 11:33:01 +13:00
Chris Pearce
9ee26e5a65
Bug 799344 - Remove nsBuiltinDecoder::GetDecodeState(), so that nsBuiltinDecoder doesn't need to know about nsDecoderStateMachine::State. r=roc
2012-11-07 11:33:01 +13:00
Ehsan Akhgari
5114440464
Add the missing file for the test in bug 809654
2012-11-08 09:33:12 -05:00
Ehsan Akhgari
19a5f2cb0b
Bug 809654 - Implement BiquadFilterNode; r=bzbarsky
2012-11-07 20:59:14 -05:00
Robert O'Callahan
6b2b2ee5c8
Bug 792675. Part 7: Add support for MediaStream URIs to media elements. r=cpearce
...
--HG--
extra : rebase_source : 1c27fa7038dcdd3ab4e7eac6219b2ed5a6affa4a
2012-09-25 15:25:43 +12:00
Robert O'Callahan
8e76b2dcac
Bug 792675. Part 6: Extend createObjectURL to support MediaStreams. r=sicking
...
--HG--
extra : rebase_source : ffec7b146552362b576e88c6dea24d612a5860b9
2012-09-25 15:24:45 +12:00
Robert O'Callahan
d723594f8f
Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
...
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.
--HG--
rename : content/base/public/nsBlobProtocolHandler.h => content/base/public/nsHostObjectProtocolHandler.h
rename : content/base/src/nsBlobProtocolHandler.cpp => content/base/src/nsHostObjectProtocolHandler.cpp
rename : content/base/src/nsBlobURI.cpp => content/base/src/nsHostObjectURI.cpp
rename : content/base/src/nsBlobURI.h => content/base/src/nsHostObjectURI.h
extra : rebase_source : bfb1d7ea2813100a35f9a2054a67584e38f5f330
2012-09-25 15:24:44 +12:00
Ehsan Akhgari
8426704b9f
Bug 809271 - Implement DynamicsCompressorNode; r=bzbarsky
2012-11-06 20:01:11 -05:00
Ryan VanderMeulen
4f33e32827
Backout 3f0e69962962, 84a1afc5b15e, c62f225d0dbb, 24870ebc9665, and dd7663e68657 (bug 799344) for mochitest-1 orange.
2012-11-06 19:36:49 -05:00
Chris Pearce
cce841e3bc
Bug 799344 - Remove virtual from media state machine methods, since they're not inherited. r=roc
2012-11-07 11:33:02 +13:00
Chris Pearce
22fe237724
Bug 799344 - Flatten nsBultinDecoderStateMachine and nsDecoderStateMachine into a single class. r=roc
2012-11-07 11:33:02 +13:00
Chris Pearce
13826e54a7
Bug 799344 - Un-templatify nsBuiltinDecoderReader::DecodeToFirstData() so that we don't need to know nsBuiltinDecoderStateMachine's interface in nsBuiltinDecoderReader.h. This means that nsBuiltinDecoderReader.h doesn't need to include nsBuiltinDecoderStateMachine.h when we move the state machine declaration from nsBuiltinDecoder.h to nsBuiltinDecoderStateMachine.h (in a later patch). nsBuiltinDecoderStateMachine.h needs to include nsBuiltinDecoderReader.h, so if nsBuiltinDecoderReader.h needed to include nsBuiltinDecoderStateMachine.h we'd have an include cycle, which is bad. r=roc
2012-11-07 11:33:01 +13:00
Chris Pearce
ecd71d8846
Bug 799344 - Remove nsBuiltinDecoder::GetDecodeState(), so that nsBuiltinDecoder doesn't need to know about nsDecoderStateMachine::State. r=roc
2012-11-07 11:33:01 +13:00
Ed Morley
8eac9457d3
Bug 786539 - Disable test_timeupdate_small_files.html on Windows for too many intermittent timeouts
2012-11-06 22:26:03 +00:00
Ehsan Akhgari
5a4f074522
Bug 808876 - Part 1: Implement PannerNode; r=bzbarsky
...
--HG--
extra : rebase_source : a7b901dcc7758ff9c7a8917a956d0541187fea07
2012-11-05 21:14:13 -05:00
Ehsan Akhgari
3bcb2b8761
Backed out changeset ecf0c2a7cb9f (bug 808876) for build bustage
2012-11-05 22:30:08 -05:00
Ehsan Akhgari
ad84bd3d7f
Bug 808876 - Implement PannerNode; r=bzbarsky
2012-11-05 21:14:13 -05:00
Ehsan Akhgari
d537c98fbc
Bug 808841 follow-up: Add ThreeDPoint.h
2012-11-05 21:34:31 -05:00
Ehsan Akhgari
448c1c4497
Bug 808841 - Implement AudioContext.listener; r=bzbarsky
2012-11-05 19:26:03 -05:00
Ehsan Akhgari
972faa6f3c
Bug 808374 - Balance holding and dropping the JS object references for AudioBuffers initialized with 0 channels; r=mmcr8
2012-11-05 13:49:35 -05:00
Robert O'Callahan
0cf4130886
Bug 787831. Keep TrackIDs instead of Track pointers to guard against Tracks being deleted. r=jesup
2012-11-02 23:42:59 +13:00
Ehsan Akhgari
41f9f14161
Bug 807533 - Implement DelayNode; r=bzbarsky
...
--HG--
extra : rebase_source : 36bb70c9f4b9c86fc1564447a34153d92fe7f347
2012-10-31 20:26:03 -04:00
Benoit Jacob
cc10ea918f
Bug 806369 - Stagefright blacklisting. Also extends Android Gfxinfo to support blacklist rules by Android API version, Model, Product, Hardware, Manufacturer - r=joe,doublec
2012-11-01 17:13:10 -04:00
Ehsan Akhgari
8ba6137c34
Bug 807526 - Implement GainNode; r=bzbarsky
2012-10-31 15:09:32 -04:00
Ehsan Akhgari
205efbc82f
Bug 807171 - Implement AudioParam.cancelScheduledValues; r=bzbarsky
2012-10-30 20:12:19 -04:00
Nathan Froyd
eb508945a4
Bug 807329 - fix AudioEventTimeline.h for compilers that don't support enum classes; r=ehsan
2012-10-31 11:58:42 -04:00
Ehsan Akhgari
a60888e51d
Use #include guards in the web audio code, no bug
2012-10-30 17:39:38 -04:00
Nathan Froyd
bd55a07f0e
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Ehsan Akhgari
451773ee5b
Bug 803392 - Initial implementation of AudioParam; r=bzbarsky
...
This patch implements most of the semantics of AudioParam in a
templatized base class called AudioEventTimeline. This is done in order
to make it possible to test this code from C++ without the need of
linking to libxul. Basically we take everything that could depend on
libxul or is not suitable for a genertic implementation and put it in a
traits like type as a template argument. Then the test creates mock
objects that conform to the argument interfaces, and tests the logic of
AudioEventTimeline.
2012-10-16 21:19:06 -04:00
Robert O'Callahan
8fe699d05c
Bug 805703. Part 1: MediaStreamGraph::CreateInputStream -> CreateSourceStream. r=jesup
...
--HG--
extra : rebase_source : 3c327e9ead92508f12df4b95f2fd24fa2ba97ab5
2012-10-29 17:36:31 +13:00