1
0
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:
jp9000
2014-03-06 07:02:25 -07:00
parent 4f7ab552df
commit 2448d0f229
6 changed files with 71 additions and 12 deletions

View File

@@ -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);
}
}