зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1240423
- part7 : add attributes for AudioChannelLog. r=baku
MozReview-Commit-ID: KryRjeqBUDE --HG-- extra : rebase_source : a8a6bbfdc3314b259e7364405de9842832cc12ec
This commit is contained in:
Родитель
5600b6dd28
Коммит
67612fd54d
|
@ -225,8 +225,8 @@ AudioChannelAgent::NotifyStartedPlaying(AudioPlaybackConfig* aConfig,
|
|||
|
||||
MOZ_LOG(AudioChannelService::GetAudioChannelLog(), LogLevel::Debug,
|
||||
("AudioChannelAgent, NotifyStartedPlaying, this = %p, "
|
||||
"mute = %d, volume = %f, suspend = %d\n", this,
|
||||
config.mMuted, config.mVolume, config.mSuspend));
|
||||
"audible = %d, mute = %d, volume = %f, suspend = %d\n", this,
|
||||
aAudible, config.mMuted, config.mVolume, config.mSuspend));
|
||||
|
||||
aConfig->SetConfig(config.mVolume, config.mMuted, config.mSuspend);
|
||||
mIsRegToService = true;
|
||||
|
@ -258,7 +258,7 @@ AudioChannelAgent::NotifyStartedAudible(bool aAudible, uint32_t aReason)
|
|||
{
|
||||
MOZ_LOG(AudioChannelService::GetAudioChannelLog(), LogLevel::Debug,
|
||||
("AudioChannelAgent, NotifyStartedAudible, this = %p, "
|
||||
"audible = %d\n", this, aAudible));
|
||||
"audible = %d, reason = %d\n", this, aAudible, aReason));
|
||||
|
||||
RefPtr<AudioChannelService> service = AudioChannelService::GetOrCreate();
|
||||
if (NS_WARN_IF(!service)) {
|
||||
|
|
|
@ -128,7 +128,9 @@ public:
|
|||
state.get());
|
||||
|
||||
MOZ_LOG(AudioChannelService::GetAudioChannelLog(), LogLevel::Debug,
|
||||
("AudioPlaybackRunnable, active = %d\n", mActive));
|
||||
("AudioPlaybackRunnable, active = %d, reason = %d\n",
|
||||
mActive, mReason));
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче