Bug 1064966 - Initialize AudioCallbackDriver::mIterationDurationMS. r=jesup
authorPaul Adenot <paul@paul.cx>
Tue, 09 Sep 2014 18:16:01 +0200
changeset 204511 fb7f1bc49963c99fa457db0ef5693f218596bb79
parent 204510 fabe42bc6bf0a3982488ad89c96aa271193b3c83
child 204512 583e40a8411601d9ad0be3957b541c0beca1c5cb
push id48933
push userpaul@paul.cx
push dateWed, 10 Sep 2014 11:39:46 +0000
treeherdermozilla-inbound@fb7f1bc49963 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup
bugs1064966
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1064966 - Initialize AudioCallbackDriver::mIterationDurationMS. r=jesup
content/media/GraphDriver.cpp
--- a/content/media/GraphDriver.cpp
+++ b/content/media/GraphDriver.cpp
@@ -515,16 +515,17 @@ AsyncCubebTask::Run()
   // and now kill this thread
   NS_DispatchToMainThread(this);
 
   return NS_OK;
 }
 
 AudioCallbackDriver::AudioCallbackDriver(MediaStreamGraphImpl* aGraphImpl, dom::AudioChannel aChannel)
   : GraphDriver(aGraphImpl)
+  , mIterationDurationMS(MEDIA_GRAPH_TARGET_PERIOD_MS)
   , mStarted(false)
   , mAudioChannel(aChannel)
   , mInCallback(false)
   , mPauseRequested(false)
 {
   STREAM_LOG(PR_LOG_DEBUG, ("AudioCallbackDriver ctor for graph %p", aGraphImpl));
 }