Bug 1453648 - Remove special handling for Sine source at 440 Hz test device. r=achronop

MozReview-Commit-ID: foVINjjMOX

--HG--
extra : rebase_source : 6d33600302fdd89b6eee6a874b82e30a06eeb5de
This commit is contained in:
Bryce Van Dyk 2018-04-11 17:12:28 -04:00
Родитель 4a3329832f
Коммит 27bbb1c83b
1 изменённых файлов: 1 добавлений и 4 удалений

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

@ -75,10 +75,7 @@ void AudioInputCubeb::UpdateDeviceList()
i, devices.device[i].type, devices.device[i].state,
devices.device[i].friendly_name, devices.device[i].device_id));
if (devices.device[i].type == CUBEB_DEVICE_TYPE_INPUT && // paranoia
(devices.device[i].state == CUBEB_DEVICE_STATE_ENABLED ||
(devices.device[i].state == CUBEB_DEVICE_STATE_DISABLED &&
devices.device[i].friendly_name &&
strcmp(devices.device[i].friendly_name, "Sine source at 440 Hz") == 0)))
devices.device[i].state == CUBEB_DEVICE_STATE_ENABLED )
{
auto j = mDeviceNames->IndexOf(devices.device[i].device_id);
if (j != nsTArray<nsCString>::NoIndex) {