mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-20 02:06:20 +02:00
Load up the lists of audio devices in settings
It will now load up a the list of audio input/output devices in the combo boxes in audio settings.
This commit is contained in:
@@ -76,6 +76,8 @@ void GetWASAPIAudioDevices_(vector<AudioDeviceInfo> &devices, bool input)
|
||||
size = os_wcs_to_utf8(w_id, 0, nullptr);
|
||||
info.id.resize(size);
|
||||
os_wcs_to_utf8(w_id, size, &info.id[0]);
|
||||
|
||||
devices.push_back(info);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user