зеркало из https://github.com/mozilla/gecko-dev.git
Bug 799191: incorrect audioCount in GetUserMediaDevicesRunnable r=derf
This commit is contained in:
Родитель
b12d8478af
Коммит
0945ff4d8b
|
@ -554,7 +554,7 @@ public:
|
||||||
|
|
||||||
nsTArray<nsRefPtr<MediaEngineAudioSource> > audioSources;
|
nsTArray<nsRefPtr<MediaEngineAudioSource> > audioSources;
|
||||||
manager->GetBackend()->EnumerateAudioDevices(&audioSources);
|
manager->GetBackend()->EnumerateAudioDevices(&audioSources);
|
||||||
audioCount = videoSources.Length();
|
audioCount = audioSources.Length();
|
||||||
|
|
||||||
nsTArray<nsCOMPtr<nsIMediaDevice> > *devices =
|
nsTArray<nsCOMPtr<nsIMediaDevice> > *devices =
|
||||||
new nsTArray<nsCOMPtr<nsIMediaDevice> >;
|
new nsTArray<nsCOMPtr<nsIMediaDevice> >;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче