Bug 1277284 - Bustage fix in opt, on a CLOSED TREE.
authorPaul Adenot <paul@paul.cx>
Fri, 03 Jun 2016 15:32:52 +0200
changeset 339459 d2bdb3aba6c1df9c02fe0ab411d6a4b6b0d095b4
parent 339458 139ce9bc8149993a4c3bc92c5246ed7f1bb6c8a3
child 339460 7f5e5e52d06fdb6c2b3ac864a310f934541ab8b9
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1277284
milestone49.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 1277284 - Bustage fix in opt, on a CLOSED TREE. MozReview-Commit-ID: LC7mBVas8CB
dom/media/GraphDriver.cpp
--- a/dom/media/GraphDriver.cpp
+++ b/dom/media/GraphDriver.cpp
@@ -621,17 +621,17 @@ AudioCallbackDriver::Init()
         cubeb_stream_init(CubebUtils::GetCubebContext(), &stream,
                           "AudioCallbackDriver",
                           input_id,
                           mGraphImpl->mInputWanted ? &input : nullptr,
                           output_id,
                           mGraphImpl->mOutputWanted ? &output : nullptr, latency,
                           DataCallback_s, StateCallback_s, this) == CUBEB_OK) {
       mAudioStream.own(stream);
-      int rv = cubeb_stream_set_volume(mAudioStream, CubebUtils::GetVolumeScale());
+      DebugOnly<int> rv = cubeb_stream_set_volume(mAudioStream, CubebUtils::GetVolumeScale());
       NS_WARN_IF_FALSE(rv == CUBEB_OK,
           "Could not set the audio stream volume in GraphDriver.cpp");
     } else {
 #ifdef MOZ_WEBRTC
       StaticMutexAutoUnlock unlock(AudioInputCubeb::Mutex());
 #endif
       NS_WARNING("Could not create a cubeb stream for MediaStreamGraph, falling back to a SystemClockDriver");
       // Fall back to a driver using a normal thread.