зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1447982 - Move mic source allocation logging so it actually covers allocations. r=padenot
MozReview-Commit-ID: Ipq5vqCfvgi --HG-- extra : rebase_source : 9501f3ce7eee7e6cbf5bc839e4f7581be5a5a543
This commit is contained in:
Родитель
bd47efdaa2
Коммит
6c20c3f1cf
|
@ -494,6 +494,12 @@ MediaEngineWebRTCMicrophoneSource::UpdateSingleSource(
|
|||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
LOG(("Audio device %d in ignored state %d", mCapIndex, mState));
|
||||
break;
|
||||
}
|
||||
|
||||
if (MOZ_LOG_TEST(GetMediaManagerLog(), LogLevel::Debug)) {
|
||||
if (mAllocations.IsEmpty()) {
|
||||
|
@ -502,12 +508,6 @@ MediaEngineWebRTCMicrophoneSource::UpdateSingleSource(
|
|||
LOG(("Audio device %d allocated shared", mCapIndex));
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
LOG(("Audio device %d in ignored state %d", mCapIndex, mState));
|
||||
break;
|
||||
}
|
||||
|
||||
if (sChannelsOpen > 0) {
|
||||
UpdateAGCSettingsIfNeeded(prefs.mAgcOn, static_cast<AgcModes>(prefs.mAgc));
|
||||
|
|
Загрузка…
Ссылка в новой задаче