summaryrefslogtreecommitdiffstats
path: root/dom/media/AudioStream.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-10-01 13:23:56 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-10-01 13:23:56 +0200
commit38e8ee1e6ddaa0cfd5fd9476264cbdcbc65c8035 (patch)
tree44bcf644c2e98217f2083f201ae08bf0069b76b9 /dom/media/AudioStream.cpp
parentec4c6dd42abcbf6fd081ce3da1dbf1b5ea9c0d8f (diff)
downloadUXP-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/AudioStream.cpp')
-rw-r--r--dom/media/AudioStream.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/dom/media/AudioStream.cpp b/dom/media/AudioStream.cpp
index 896dee407..4b1d82c37 100644
--- a/dom/media/AudioStream.cpp
+++ b/dom/media/AudioStream.cpp
@@ -345,7 +345,6 @@ AudioStream::Init(uint32_t aNumChannels, uint32_t aRate,
cubeb* cubebContext = CubebUtils::GetCubebContext();
if (!cubebContext) {
NS_WARNING("Can't get cubeb context!");
- CubebUtils::ReportCubebStreamInitFailure(true);
return NS_ERROR_DOM_MEDIA_CUBEB_INITIALIZATION_ERR;
}
@@ -367,10 +366,8 @@ AudioStream::OpenCubeb(cubeb* aContext, cubeb_stream_params& aParams,
latency_frames,
DataCallback_S, StateCallback_S, this) == CUBEB_OK) {
mCubebStream.reset(stream);
- CubebUtils::ReportCubebBackendUsed();
} else {
NS_WARNING(nsPrintfCString("AudioStream::OpenCubeb() %p failed to init cubeb", this).get());
- CubebUtils::ReportCubebStreamInitFailure(aIsFirst);
return NS_ERROR_FAILURE;
}