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:
Paul Adenot 2016-10-24 17:26:07 +02:00
Родитель c65906f264
Коммит d83be5fb40
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
}
}
}