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:
parent
4f7ab552df
commit
2448d0f229
6 changed files with 71 additions and 12 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue