зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1312413 - `mDefaultDevice` should be an index in `mDeviceIndexes`. r=jesup
MozReview-Commit-ID: 8UywuqRAegy --HG-- extra : rebase_source : 08ad3f27cebadc3322e7ea199db90786388a69c0
This commit is contained in:
Родитель
c65906f264
Коммит
d83be5fb40
|
@ -95,7 +95,7 @@ void AudioInputCubeb::UpdateDeviceList()
|
|||
if (devices->device[i]->preferred & CUBEB_DEVICE_PREF_VOICE) {
|
||||
// There can be only one... we hope
|
||||
NS_ASSERTION(mDefaultDevice == -1, "multiple default cubeb input devices!");
|
||||
mDefaultDevice = i;
|
||||
mDefaultDevice = j;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче