Ralph Giles
d5608e0a47
Bug 1277037 - Make AudioCallbackDriver::StartStream fallible. r=jesup
...
Avoid crashing in the case that cubeb stream start fails and report
an error instead.
MozReview-Commit-ID: 75M392POyHo
--HG--
extra : rebase_source : 2c083cf129f12ad1e18d9065152cfee13987b071
2017-01-11 11:51:23 -08:00
Paul Adenot
b4146d6b6d
Bug 1289678 - Fix warning as errors on a CLOSED TREE.
2016-07-28 13:17:46 +02:00
Paul Adenot
0cb3352625
Bug 1289678 - Don't count audio stream creation failures when retrying on Telemetry. r=kinetik
...
When failing to create an audio stream, we fallback to a SystemClockDriver
marked as being a "fallback driver". When failing again to open an audio stream
after re-trying, we can check whether we came from a fallback driver, and not
report the failure again to telemetry.
MozReview-Commit-ID: FAdQ0pCtC3m
2016-07-27 15:18:17 +02:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01: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
8fda7f21b4
Bug 1266438 - Remove workaround on OSX when switching device, not necessary with duplex mode. r=jesup
...
MozReview-Commit-ID: 7IontuEuiQj
2016-04-22 16:24:19 +02:00
Paul Adenot
b3adcea90b
Bug 1266438 - Reset the AEC and other processing when audio devices change. r=jesup
...
MozReview-Commit-ID: Jrr9E9ZSukv
2016-04-22 16:24:17 +02:00
Randell Jesup
ca7a35732f
Bug 1264195: Re-add SetMicrophoneActive() calls into the GraphDriver r=padenot
...
With bustage fix for warnings as errors
2016-04-13 14:31:35 -04:00
Randell Jesup
85f3c6a92d
Bug 1245216: Fix getUserMedia input in full_duplex mode coming from the wrong place r=padenot
...
Also cleanup of an leftover overrridden interface, and re-add a line lost in merges
MozReview-Commit-ID: 7sjtbbtq1RG
2016-02-17 13:19:02 -05:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Randell Jesup
577bce0291
Bug 1221587: stall MSG final shutdown until AudioCallbackDriver shutdown has finished r=pehrsons
...
--HG--
extra : commitid : JidvC1L3ZGw
2016-01-22 02:39:42 -05:00
Randell Jesup
a853e094df
Bug 1221587: Update for API changes in cubeb r=padenot
...
--HG--
extra : commitid : C4GE8epQXOe
2016-01-21 11:51:36 -05:00
Randell Jesup
5a17e5fbbe
Bug 1237414: Switch AsyncCubebOperation to a SharedThreadPool r=padenot
...
--HG--
extra : commitid : Ir2a54CKDuu
2016-01-21 11:51:36 -05:00
Randell Jesup
883822a751
Bug 1221587: Implement switching of AudioCallbackDrivers for full-duplex r=padenot
...
--HG--
extra : commitid : JOwwqkcwHb
2016-01-21 11:51:36 -05:00
Randell Jesup
be7d8f1d36
Bug 1221587: change audio listeners for full-duplex audio r=padenot
...
--HG--
extra : commitid : HGZSv3IY3OF
2016-01-21 11:51:36 -05:00
Paul Adenot
439679b676
Bug 1221587: allow getUserMedia to use full-duplex cubeb streams r=padenot
...
--HG--
extra : commitid : DQAIBehrpU3
2016-01-21 11:51:36 -05:00
Randell Jesup
6d7d97d7bc
Bug 1221587: Base update of the MSG API for full-duplex r=padenot
...
--HG--
extra : commitid : Kf1JpZKH7LH
2016-01-21 11:51:35 -05:00
Wes Kocher
d8d8cf6b90
Backed out changeset 3bd606775747 (bug 1221587)
...
--HG--
extra : commitid : 73qThGgq9ee
2016-01-21 17:28:29 -08:00
Wes Kocher
ef637b17e9
Backed out changeset 1c3afb2f433b (bug 1221587)
...
--HG--
extra : commitid : JErfAFCW3YJ
2016-01-21 17:28:28 -08:00
Wes Kocher
4d52f1b36b
Backed out changeset 765fa97d2407 (bug 1221587)
...
--HG--
extra : commitid : GLNtVETOSsb
2016-01-21 17:28:26 -08:00
Wes Kocher
1182293e13
Backed out changeset 83f16bb75412 (bug 1221587)
...
--HG--
extra : commitid : 5NqG0JIgDN0
2016-01-21 17:28:23 -08:00
Wes Kocher
b8d7a67ec2
Backed out changeset 919961c56977 (bug 1237414)
...
--HG--
extra : commitid : HxcKenYSkYS
2016-01-21 17:28:17 -08:00
Wes Kocher
6a60db7718
Backed out changeset ff326b0cc099 (bug 1221587)
...
--HG--
extra : commitid : IaIBmzsd7rp
2016-01-21 17:28:14 -08:00
Randell Jesup
600178b7d6
Bug 1221587: Update for API changes in cubeb r=padenot
...
--HG--
extra : commitid : B6ZRzya3bL6
2016-01-21 11:51:36 -05:00
Randell Jesup
7fd20ed26a
Bug 1237414: Switch AsyncCubebOperation to a SharedThreadPool r=padenot
...
--HG--
extra : commitid : FqbLPdXNKAa
2016-01-21 11:51:36 -05:00
Randell Jesup
c00d287af2
Bug 1221587: Implement switching of AudioCallbackDrivers for full-duplex r=padenot
...
--HG--
extra : commitid : 7b8MdK7aRfk
2016-01-21 11:51:36 -05:00
Randell Jesup
a621cb7376
Bug 1221587: change audio listeners for full-duplex audio r=padenot
...
--HG--
extra : commitid : 9yDpe5JP1eS
2016-01-21 11:51:36 -05:00
Paul Adenot
61fbf51469
Bug 1221587: allow getUserMedia to use full-duplex cubeb streams r=padenot
...
--HG--
extra : commitid : AH6pOM2E3J2
2016-01-21 11:51:36 -05:00
Randell Jesup
3abc9ead67
Bug 1221587: Base update of the MSG API for full-duplex r=padenot
...
--HG--
extra : commitid : 4p2GpBpkEVz
2016-01-21 11:51:35 -05:00
Jean-Yves Avenard
bc55ba93a4
Bug 1240411: P9. Clean up media headers. r=jwwang
...
Remove redundant virtual keyword and add missing override if any.
2016-01-19 19:47:36 +11:00
Paul Adenot
8ea628a72b
Bug 1203585 - Remove some dead code in GraphDriver.cpp. r=jesup
...
--HG--
extra : commitid : LDSLPjpJdAz
2015-12-01 11:48:08 +01:00
Paul Adenot
fa96e4558d
Bug 1203585 - Add comments about threading and locking on GraphDriver's members. r=jesup
...
--HG--
extra : commitid : DLgo3xduShJ
2015-12-01 11:48:06 +01:00
Paul Adenot
50fb895637
Bug 1203585 - Add new methods to GraphDriver to assert that locks are held. r=jesup
...
--HG--
extra : commitid : E8XmcSExg9V
2015-12-01 11:47:31 +01:00
Paul Adenot
b5c707b433
Bug 1203585 - Add a comment block on how MediaStreamGraph switch GraphDrivers. r=jesup
...
--HG--
extra : commitid : CVaELpK3iU1
2015-12-01 11:36:28 +01:00
Robert O'Callahan
2c08de69e9
Bug 1215699. Ensure that AudioGraphDriver uses the MediaStreamGraph's AudioChannel. r=padenot
2015-10-23 16:43:15 +13:00
Sebastian Hengst
e6d06af59f
Backed out 2 changesets (bug 1215699, bug 1209994) for web platform failures. r=backout
...
Backed out changeset a8adf1f9d366 (bug 1209994)
Backed out changeset f5ed98fdc16e (bug 1215699)
2015-10-24 15:38:03 +02:00
Robert O'Callahan
c97605eefe
Bug 1215699. Ensure that AudioGraphDriver uses the MediaStreamGraph's AudioChannel. r=padenot
...
--HG--
extra : commitid : DMIEO7qauwZ
extra : rebase_source : e34a31e0adb0a9a6b3e4ff259d8ffdafe12e3c68
2015-10-23 16:43:15 +13:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Karl Tomlinson
e8c9471dea
bug 1208327 make enum AudioContextOperation strongly typed and forward declare instead of including AudioContext.h r=roc
...
AudioContext.h is now exported only under mozilla.dom.
--HG--
extra : rebase_source : 7fc0a25a6bb8efe497a0e779dca2df5d7e3397b1
2015-09-25 08:49:03 +12:00
Karl Tomlinson
78739ed9f6
bug 962719 move mStateComputedTime to MediaStreamGraphImpl r=padenot
...
--HG--
extra : rebase_source : 3c4727a6397cc77800aa2676b17c3d85702cd64f
2015-08-13 16:23:17 +12:00
Karl Tomlinson
8ea6318dc9
bug 1190291 move mNextStateComputedTime to local variable r=padenot
...
--HG--
extra : rebase_source : c273b9fcd0f2e6aacc33f81d85d651d49934c273
2015-07-29 17:13:23 +12:00
Karl Tomlinson
db58db72fb
bug 1190285 share ThreadedDriver interval update code r=padenot
...
--HG--
extra : rebase_source : bb977d7080dbb69d2c485efdf8148f8933f84b0c
2015-07-23 17:15:49 +12:00
Karl Tomlinson
4ca41a6841
bug 1190285 move GraphTime definition to avoid GraphDriver.h includes r=padenot
...
--HG--
extra : rebase_source : 18cc48140505eff426483c08c1dd4c9c3c0aa909
2015-07-23 11:48:47 +12:00
Karl Tomlinson
0c346a395e
bug 1190285 move GetIntervalForIteration() from base class to ThreadedDriver, where it is used r=padenot
...
--HG--
extra : rebase_source : c34ce851b40d8057ff5ca97cdd5f6f703f8a2af0
2015-07-23 11:30:02 +12:00
Karl Tomlinson
fdab75f3a4
bug 1190285 remove unused HaveEnoughBuffered r=padenot
...
--HG--
extra : rebase_source : 87bfcfb201f57e441adaefccf379c04cad0a2736
2015-07-31 18:54:05 +12:00
Karl Tomlinson
14f2250058
bug 1190285 remove unused GetCurrentTime() r=padenot
...
--HG--
extra : rebase_source : d976d69b6fd6d6584b6a43214b203608357c7c55
2015-07-23 17:31:32 +12:00
Paul Adenot
bae21b7ea5
Bug 1181097 - Properly handle the case of resuming an AudioContext with an MSG that is already switching to an AudioCallbackDriver. r=roc
2015-07-13 19:16:53 +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