зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1549699 - Don't use communication devices by default on Windows. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D30205 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d9dfc81a00
Коммит
d9b3df4c8e
|
@ -617,9 +617,11 @@ bool AudioCallbackDriver::Init() {
|
|||
output.channels = mOutputChannels;
|
||||
output.layout = CUBEB_LAYOUT_UNDEFINED;
|
||||
output.prefs = CubebUtils::GetDefaultStreamPrefs();
|
||||
#if !defined(XP_WIN)
|
||||
if (mInputDevicePreference == CUBEB_DEVICE_PREF_VOICE) {
|
||||
output.prefs |= static_cast<cubeb_stream_prefs>(CUBEB_STREAM_PREF_VOICE);
|
||||
}
|
||||
#endif
|
||||
|
||||
uint32_t latency_frames = CubebUtils::GetCubebMSGLatencyInFrames(&output);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче