Bug 1276569. Part 3 - replace use of MOZ_LOG with LOG. r=kinetik. draft 1276569_fix_AudioStream
authorJW Wang <jwwang@mozilla.com>
Mon, 30 May 2016 16:08:50 +0800
branch1276569_fix_AudioStream
changeset 372891 f160904cb14800d5b9123b0e421a2ae8836556c5
parent 372890 c8fb5f479ba61f9763b64cc0a90a1c29ff8e0e0d
child 372892 d7bd2f5fe21e45e53d252950bcd9ebbcaff1a5cd
push id19619
push userjwwang@mozilla.com
push dateMon, 30 May 2016 13:01:55 +0000
reviewerskinetik
bugs1276569
milestone49.0a1
Bug 1276569. Part 3 - replace use of MOZ_LOG with LOG. r=kinetik. MozReview-Commit-ID: BbVtPIgxPSU
dom/media/AudioStream.cpp
--- a/dom/media/AudioStream.cpp
+++ b/dom/media/AudioStream.cpp
@@ -321,18 +321,17 @@ AudioStream::Init(uint32_t aNumChannels,
 {
   mStartTime = TimeStamp::Now();
   mIsFirst = CubebUtils::GetFirstStream();
 
   if (!CubebUtils::GetCubebContext()) {
     return NS_ERROR_FAILURE;
   }
 
-  MOZ_LOG(gAudioStreamLog, LogLevel::Debug,
-    ("%s  channels: %d, rate: %d for %p", __FUNCTION__, aNumChannels, aRate, this));
+  LOG("%s channels: %d, rate: %d", __FUNCTION__, aNumChannels, aRate);
   mInRate = mOutRate = aRate;
   mChannels = aNumChannels;
   mOutChannels = aNumChannels;
 
   mDumpFile = OpenDumpFile(this);
 
   cubeb_stream_params params;
   params.rate = aRate;