diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-10-01 13:23:56 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-10-01 13:23:56 +0200 |
commit | 38e8ee1e6ddaa0cfd5fd9476264cbdcbc65c8035 (patch) | |
tree | 44bcf644c2e98217f2083f201ae08bf0069b76b9 /dom/media/GraphDriver.cpp | |
parent | ec4c6dd42abcbf6fd081ce3da1dbf1b5ea9c0d8f (diff) | |
download | UXP-38e8ee1e6ddaa0cfd5fd9476264cbdcbc65c8035.tar UXP-38e8ee1e6ddaa0cfd5fd9476264cbdcbc65c8035.tar.gz UXP-38e8ee1e6ddaa0cfd5fd9476264cbdcbc65c8035.tar.lz UXP-38e8ee1e6ddaa0cfd5fd9476264cbdcbc65c8035.tar.xz UXP-38e8ee1e6ddaa0cfd5fd9476264cbdcbc65c8035.zip |
Remove telemetry reporting functions from CubebUtils
Tag #21.
Diffstat (limited to 'dom/media/GraphDriver.cpp')
-rw-r--r-- | dom/media/GraphDriver.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/dom/media/GraphDriver.cpp b/dom/media/GraphDriver.cpp index 47762c56e..b60dfee9d 100644 --- a/dom/media/GraphDriver.cpp +++ b/dom/media/GraphDriver.cpp @@ -623,9 +623,6 @@ AudioCallbackDriver::Init() cubeb* cubebContext = CubebUtils::GetCubebContext(); if (!cubebContext) { NS_WARNING("Could not get cubeb context."); - if (!mFromFallback) { - CubebUtils::ReportCubebStreamInitFailure(true); - } return; } @@ -710,18 +707,11 @@ AudioCallbackDriver::Init() NS_WARNING_ASSERTION( rv == CUBEB_OK, "Could not set the audio stream volume in GraphDriver.cpp"); - CubebUtils::ReportCubebBackendUsed(); } else { #ifdef MOZ_WEBRTC StaticMutexAutoUnlock unlock(AudioInputCubeb::Mutex()); #endif NS_WARNING("Could not create a cubeb stream for MediaStreamGraph, falling back to a SystemClockDriver"); - // Only report failures when we're not coming from a driver that was - // created itself as a fallback driver because of a previous audio driver - // failure. - if (!mFromFallback) { - CubebUtils::ReportCubebStreamInitFailure(firstStream); - } // Fall back to a driver using a normal thread. If needed, // the graph will try to re-open an audio stream later. MonitorAutoLock lock(GraphImpl()->GetMonitor()); |