Bug 1347758 - part4 : add audio channel log. r=Ehsan
MozReview-Commit-ID: LNXzRZx2rC2
This commit is contained in:
@@ -692,7 +692,8 @@ public:
|
||||
|
||||
MOZ_LOG(AudioChannelService::GetAudioChannelLog(), LogLevel::Debug,
|
||||
("HTMLMediaElement::AudioChannelAgentCallback, WindowVolumeChanged, "
|
||||
"this = %p, aVolume = %f, aMuted = %d\n", this, aVolume, aMuted));
|
||||
"this = %p, aVolume = %f, aMuted = %s\n",
|
||||
this, aVolume, aMuted ? "true" : "false"));
|
||||
|
||||
if (mAudioChannelVolume != aVolume) {
|
||||
mAudioChannelVolume = aVolume;
|
||||
@@ -716,7 +717,7 @@ public:
|
||||
|
||||
MOZ_LOG(AudioChannelService::GetAudioChannelLog(), LogLevel::Debug,
|
||||
("HTMLMediaElement::AudioChannelAgentCallback, WindowSuspendChanged, "
|
||||
"this = %p, aSuspend = %d\n", this, aSuspend));
|
||||
"this = %p, aSuspend = %s\n", this, SuspendTypeToStr(aSuspend)));
|
||||
|
||||
switch (aSuspend) {
|
||||
case nsISuspendedTypes::NONE_SUSPENDED:
|
||||
@@ -883,7 +884,7 @@ private:
|
||||
mSuspended = aSuspend;
|
||||
MOZ_LOG(AudioChannelService::GetAudioChannelLog(), LogLevel::Debug,
|
||||
("HTMLMediaElement::AudioChannelAgentCallback, SetAudioChannelSuspended, "
|
||||
"this = %p, aSuspend = %d\n", this, aSuspend));
|
||||
"this = %p, aSuspend = %s\n", this, SuspendTypeToStr(aSuspend)));
|
||||
|
||||
NotifyAudioPlaybackChanged(
|
||||
AudioChannelService::AudibleChangedReasons::ePauseStateChanged);
|
||||
|
||||
Reference in New Issue
Block a user