зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1299324: return error if an audio channel is already open until multi-mic support is done r=jib
This commit is contained in:
Родитель
4d39958e79
Коммит
7b209b91b2
|
@ -298,6 +298,10 @@ MediaEngineWebRTCMicrophoneSource::UpdateSingleSource(
|
|||
LOG(("Audio engine is not initalized"));
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
} else {
|
||||
// Until we fix (or wallpaper) support for multiple mic input
|
||||
// (Bug 1238038) fail allocation for a second device
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
if (!AllocChannel()) {
|
||||
LOG(("Audio device is not initalized"));
|
||||
|
|
Загрузка…
Ссылка в новой задаче