Commit Graph

72 Commits

Author SHA1 Message Date
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
Andreas Pehrson
29501a346e Bug 1221587: Improve logging of callback driver/switching r=padenot
--HG--
extra : commitid : 4UyAMF8FZRT
2016-01-06 16:20:20 +08: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
46878bf96f Bug 1221587: use cubeb devids to select input devices r=padenot
--HG--
extra : commitid : AH6Lt4KfNaF
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
Andreas Pehrson
3121c632b9 Bug 1221587: Rename MediaStreamGraphShutdownThreadRunnable2 r=padenot
--HG--
extra : commitid : Ashu9ch65Fa
2016-01-21 11:51:35 -05:00
Wes Kocher
d67e3ac502 Backed out changeset ff93a27168c4 (bug 1221587)
--HG--
extra : commitid : CiVMabCPpL4
2016-01-21 17:28:31 -08: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
71e2d1b3e4 Backed out changeset 8af4dd12d47c (bug 1221587)
--HG--
extra : commitid : AD53AdwdwaG
2016-01-21 17:28:25 -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
ddad02ab4c Backed out changeset d063509e90f7 (bug 1221587)
--HG--
extra : commitid : 846AZmabrhV
2016-01-21 17:28:21 -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
Andreas Pehrson
f41ad034e5 Bug 1221587: Improve logging of callback driver/switching r=padenot
--HG--
extra : commitid : 72dxUhmH4Wm
2016-01-06 16:20:20 +08: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
2501b5c4c1 Bug 1221587: use cubeb devids to select input devices r=padenot
--HG--
extra : commitid : 80Zdtlc9zJI
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
Andreas Pehrson
018b2bea5a Bug 1221587: Rename MediaStreamGraphShutdownThreadRunnable2 r=padenot
--HG--
extra : commitid : 1aHxyrTUSON
2016-01-21 11:51:35 -05: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
2a78933e79 Bug 1203585 - Add threading assertions to GraphDriver switching methods. r=jesup
--HG--
extra : commitid : 6stjXK4ET1x
2015-12-01 11:47:59 +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
Bogdan Postelnicu
ae22c83be6 Bug 1230902 - initialize mSampleRate and mMicrophoneActive. r=cpearce 2015-12-07 02:17:00 +01:00
Dan Glastonbury
5a8ca1d0d5 Bug 1169212 - Part 1: Implemented ADTS Decoder & Demuxer. r=jya
Implemented based upon MP3 Demuxer & Decoder.
2015-12-07 15:48:59 +10:00
sajitk
582e1a55fa Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian 2015-11-15 14:49:01 +01:00
Wes Kocher
f3a9eb2a26 Backed out changeset 1e5f3d1151d6 (bug 1219480) for cpp unittest bustage CLOSED TREE
--HG--
extra : commitid : BMVKq6cPeho
2015-11-11 09:36:56 -08:00
sajitk
3cbe348cdd Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian
--HG--
extra : rebase_source : c73098485fa005d914304fb6e7f8eba3c15e66dc
2015-11-11 06:52:00 +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
Robert O'Callahan
d19d095ee1 Bug 1189506. Remove unused mFlushSourcesNow/mFlushSourcesOnNextIteration. r=karlt
--HG--
extra : commitid : KbKHmcvNA45
extra : rebase_source : 9b26eca9627096225e3d02b52392d8228108d45b
2015-09-05 00:20:17 +12:00
Karl Tomlinson
c5e3e52551 bug 962719 remove unnecessary OneIteration() parameters aFrom/aTo r=padenot
--HG--
extra : rebase_source : 7ad313275ef00a0306c8b3b4775f0088f07c9031
2015-08-04 19:42:10 +12:00
Karl Tomlinson
3976b00d63 bug 962719 ensure state computed time does not retreat r=padenot
--HG--
extra : rebase_source : 7acc6c71ef585813a3d80ee954fe208d7c1ef469
2015-08-04 19:54:54 +12:00
Karl Tomlinson
d894983b78 bug 962719 remove unnecessary OneIteration() parameter aStateFrom r=padenot
--HG--
extra : rebase_source : 22d67be26f4cface092cf13577035473b18b2b93
2015-07-31 17:39:35 +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
4876f80e75 bug 1190291 don't process blocks beyond aTicksToProcess in an offline graph r=padenot
--HG--
extra : rebase_source : 1f3d734e867f72125af6c3b87ac2217fc4bfee2c
2015-07-31 23:43:55 +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
a6f86056b9 bug 1190285 only update mStateComputedTime once per iteration r=padenot
UpdateStateComputedTime(GraphTime aStateComputedTime) occurs midway during
the iteration, so there is no need to update at the end.

--HG--
extra : rebase_source : 82a5fb08596d16ea1926725149b2688cfdf585ec
2015-07-29 16:58:59 +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
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
14f2250058 bug 1190285 remove unused GetCurrentTime() r=padenot
--HG--
extra : rebase_source : d976d69b6fd6d6584b6a43214b203608357c7c55
2015-07-23 17:31:32 +12:00