Граф коммитов

228 Коммитов

Автор SHA1 Сообщение Дата
Birunthan Mohanathas 561b992900 Bug 1182808 - Part 2: Remove AlignedFallibleTArray. r=padenot 2015-07-15 12:58:18 -07:00
Birunthan Mohanathas 74431fc9ba Bug 1182808 - Part 1: Add and use fallible variant of AlignedTArray_Impl::SetLength. r=padenot 2015-07-15 12:58:15 -07:00
Paul Adenot 2a7cecac07 Bug 1179484 - Pass in the right graph when created the DOMMediaStream. r=roc 2015-07-02 09:30:58 +02:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Andrea Marchesini 24739b108d Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
Andrea Marchesini db14826639 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book c07e36b612 Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe
--HG--
rename : dom/webidl/BrowserElementAudioChannel.webidl => dom/audiochannel/AudioChannelCommon.h
rename : dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html => dom/audiochannel/tests/file_telephonyPolicy.html
2015-07-11 14:14:58 +02:00
Carsten "Tomcat" Book 131967cfc8 Backed out changeset 41195fb9f293 (bug 1177259) 2015-07-11 14:13:27 +02:00
Andrea Marchesini 1ccca98929 Bug 1177259 - Improve the names of the methods of nsIAudioChannelAgent, r=alwu 2015-07-11 08:24:26 +01:00
Andrea Marchesini 3050bc370c Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/audiochannel/AudioChannelAgent.h => dom/browser-element/BrowserElementAudioChannel.h
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/audiochannel/tests/file_telephonyPolicy.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
rename : dom/audiochannel/AudioChannelCommon.h => dom/webidl/BrowserElementAudioChannel.webidl
2015-07-10 21:08:43 -04:00
Xidorn Quan f23d866f51 Backed out 8 changesets (bug 1113086) for build bustage
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)

--HG--
extra : histedit_source : d8dfd75d9dae36b7309ce78e3b4488faf57003da%2C48081711b7067191d8e4749fd3b572db59bc03f9
2015-07-11 10:55:59 +10:00
Andrea Marchesini bbb0a11f31 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_inproc_AudioChannel.html
rename : dom/browser-element/mochitest/test_browserElement_oop_GetContentDimensions.html => dom/browser-element/mochitest/test_browserElement_oop_AudioChannel.html
2015-07-10 17:38:44 +01:00
Kyle Machulis 695f51d864 Bug 1157768 - FFTBlock Changes for using libav fft; r=padenot 2015-07-10 14:34:07 -07:00
Wes Kocher b561edb7f4 Backed out 3 changesets (bug 1157768) for win64 pgo build bustage CLOSED TREE
Backed out changeset 24ced1b9f9dd (bug 1157768)
Backed out changeset 55efd92ce59d (bug 1157768)
Backed out changeset 812f311c4ee4 (bug 1157768)
2015-07-09 14:40:20 -07:00
Kyle Machulis fa47643a2a Bug 1157768 - FFTBlock Changes for using libav fft; r=padenot 2015-07-09 09:07:53 -07:00
Emanuel Hoogeveen 7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Ehsan Akhgari 2c2295d295 Bug 1180539 - Correctly dispatch media-playback notifications when an AudioContext is closed/suspended/resumed; r=baku
Since navigating away from a page with an active AudioContext will close
it internally, this patch fixes a similar issue to bug 1180535 for Web
Audio too.
2015-07-06 21:21:19 -04:00
Ehsan Akhgari 9371189fe4 Backout bug 1180539 for test failures 2015-07-06 10:50:35 -04:00
Ehsan Akhgari c0e3046caf Bug 1180539 follow-up: Add a null check in AudioContext::Close to fix the ccrash in Web Audio Editor tests 2015-07-06 10:35:16 -04:00
Ehsan Akhgari e279cd48ad Bug 1180539 - Correctly dispatch media-playback notifications when an AudioContext is closed/suspended/resumed; r=baku
Since navigating away from a page with an active AudioContext will close
it internally, this patch fixes a similar issue to bug 1180535 for Web
Audio too.
2015-07-06 09:10:06 -04:00
Ehsan Akhgari c6f415d397 Bug 1180347 - Split media.useAudioChannelService to support turning the service on without turning the Firefox OS specific APIs on; r=baku
This is going to be needed for us to be able to turn the AudioChannelService
on for desktop without exposing the Firefox OS specific APIs.
2015-07-06 09:05:00 -04:00
Paul Adenot 84707f0892 Bug 1173016 - Bustage fix: mark BasicWaveformCache's ctor as `explicit`, on a CLOSED TREE. 2015-07-06 14:27:18 +02:00
Paul Adenot b1cd8acc4d Bug 1173016 - Properly refcount the inner PeriodicWave object. r=karlt 2015-07-06 13:58:33 +02:00
Paul Adenot 5484d0c363 Bug 1173016 - Cache the basic waveform PeriodicWaves. r=karlt 2015-06-15 18:16:16 +02:00
Ehsan Akhgari 67cd5d7755 Bug 1180350 - Use UseAudioChannelService more; r=baku 2015-07-05 11:02:33 -04:00
Ehsan Akhgari 70caaac6af Bug 1180355 - Initialize the AudioChannelAgent after AudioContext has gained a stable refcount; r=baku 2015-07-04 11:17:51 -04:00
Karl Tomlinson 32603f9d43 bug 1179662 call DisconnectFromGraph once only during unlink r=padenot
--HG--
extra : rebase_source : 4e8fd171367f46cfc3e5e64f4d7e08ceff2e84d3
2015-07-02 18:11:31 +12:00
Karl Tomlinson ee5781b91a bug 1179662 call UnregisterAudioBufferSourceNode only once r=padenot
Because these nodes are only registered on PannerNodes if they have a
stream, they need only be unregistered once after the stream is destroyed.

Previously unregistration happened on finish, unlink, and destructor.

--HG--
extra : rebase_source : 7dab08fe4b5648e2a04495d6f570727684247f51
2015-07-02 18:14:54 +12:00
Karl Tomlinson a0a5e2b547 bug 1179662 handle null AudioNodeStream stream r=padenot
--HG--
extra : rebase_source : 0f0bb303aae42240638513e6d2b8f8c61cb6c1f5
2015-07-02 17:45:11 +12:00
Karl Tomlinson ed5b0e90c4 bug 1179662 rename AudioNode::Stream() to GetStream() as it may return null r=padenot
--HG--
extra : rebase_source : 0279287801ec91efd16fa14135812307926b3c68
2015-07-02 17:30:36 +12:00
Karl Tomlinson 7f8f4121f7 bug 1179662 specify AudioNode::mStream as AudioNodeStream r=padenot
--HG--
extra : rebase_source : 30cbe8f0b513063acf0e1c62078474f8f147a0ae
2015-07-02 17:36:07 +12:00
Karl Tomlinson 2c46294a5d bug 1179662 uninline DestroyMediaStream overrides so that mStream type need not be complete r=padenot
--HG--
extra : rebase_source : 2f9676a2e1c4ce13adfdf109e7e8c9827fb26502
2015-07-02 16:44:31 +12:00
Paul Adenot 724c74bc92 Bug 1175510 - Update the AudioBufferSourceNode <=> PannerNode mapping when destroying AudioNodeStream. r=karlt
--HG--
extra : rebase_source : d02b6c241ca5371b8c53bfea54bf80954ab1725c
2015-07-02 05:43:52 +02:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Bobby Holley 3985c88eb7 Bug 1175768 - Throttle NotifyDataArrived. r=jya 2015-06-27 01:19:14 -07:00
Bobby Holley f25ea07acc Bug 1175768 - Dispatch NotifyDataArrived and remove the aBuffer argument. r=jya
It would be nice to remove the argument in a separate patch, but we can't
perform MediaResource reads on the main thread, so the SilentReadAt stuff
needs to happen at the same time as the off-main-thread stuff.
2015-06-27 01:19:10 -07:00
Bobby Holley a269ea96b4 Bug 1175768 - Dispatch UpdateEstimatedMediaDuration. r=jya
NotifyDataArrived will soon run off-main-thread, so the assumptions here won't hold.
2015-06-27 01:19:07 -07:00
JW Wang 13addbc548 Bug 1175786 - Rewrite test_mediaElementAudioSourceNodeCrossOrigin.html. r=padenot
--HG--
extra : rebase_source : 1d754c33cfbc706914ef7f92b80ac7c3250f3423
2015-06-17 19:45:00 +02:00
Matthew Gregan ac2b9444ba Bug 1103824 - Back out changeset for causing regression reported in bug 1176499. 2015-06-23 17:02:51 -07:00
Ryan VanderMeulen d9ca5de3ed Backed out 8 changesets (bug 1175768) for frequent media test failures.
Backed out changeset a369cfb95b59 (bug 1175768)
Backed out changeset e02dd312d622 (bug 1175768)
Backed out changeset 6776ce74b9e5 (bug 1175768)
Backed out changeset 6aa5fa1d318e (bug 1175768)
Backed out changeset a8bd7a0d2aea (bug 1175768)
Backed out changeset 41ffc9a9ac48 (bug 1175768)
Backed out changeset 2d2cefa397dc (bug 1175768)
Backed out changeset 4e06368496d2 (bug 1175768)

CLOSED TREE
2015-06-23 16:20:15 -04:00
Bobby Holley 6925b1f100 Bug 1175768 - Throttle NotifyDataArrived. r=jya 2015-06-22 22:53:09 -07:00
Bobby Holley 23c16e6894 Bug 1175768 - Dispatch NotifyDataArrived and remove the aBuffer argument. r=jya
It would be nice to remove the argument in a separate patch, but we can't
perform MediaResource reads on the main thread, so the SilentReadAt stuff
needs to happen at the same time as the off-main-thread stuff.
2015-06-22 22:53:07 -07:00
Bobby Holley 56422fb439 Bug 1175768 - Dispatch UpdateEstimatedMediaDuration. r=jya
NotifyDataArrived will soon run off-main-thread, so the assumptions here won't hold.
2015-06-22 22:53:06 -07:00
Bobby Holley 56a6ea9edb Bug 1172264 - Mirror duration from the MDSM to the MediaDecoderReader and remove MDSM::GetDuration. r=jww 2015-06-17 09:49:10 -07:00
Matthew Gregan bf4e15de86 Bug 1103824 - Ensure first initialization of IAudioClient happens on STA thread. r=padenot
--HG--
extra : rebase_source : 344380ef08d44983c745bea5cee792140ca7ca66
2015-05-14 18:33:23 +12:00
Karl Tomlinson 70a1be5d33 Bug 974089 - Destroy WebAudio MediaStream when a source finishes. r=padenot
--HG--
extra : rebase_source : 1a6c80ebaf11cf52194774088399040fea4605cd
2015-06-10 13:31:29 +02:00
Karl Tomlinson f8b1474d38 bug 1061220 work around bug 916387
--HG--
extra : rebase_source : 3966cb91ec36ee07621b90b00153e3dafeb9d722
2015-06-12 15:44:19 +12:00
Ryan VanderMeulen 20eb4e1566 Backed out 3 changesets (bug 974089) for causing OSX/Windows test_bug867104.html permafail.
Backed out changeset 1dcfd15bb387 (bug 974089)
Backed out changeset 8c6a7d5efe3a (bug 974089)
Backed out changeset e511c79f2211 (bug 974089)

CLOSED TREE
2015-06-11 15:10:06 -04:00
Paul Adenot 2567778c41 Bug 1118372 - Invert two lines in the mochitest.ini to keep the right text disabled, on a CLOSED TREE. 2015-06-11 18:46:46 +02:00
Paul Adenot 015314f5a6 Bug 974089 - Destroy the streams from the main thread. 2015-06-11 18:46:44 +02:00