Skip to content

Commit e7a6784

Browse files
committed
restore getDevices() name
1 parent f6c5fdb commit e7a6784

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

obs-studio-server/source/nodeobs_settings.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3926,7 +3926,7 @@ void enumDevicesUsingDummySource(const char *source_id, const char *property_nam
39263926

39273927
// Gets the devices from the source using a property list without triggering
39283928
// obs_source_info.get_updates callback.
3929-
void enumDevices(const char *source_id, const char *property_name, std::vector<ipc::value> &rval)
3929+
void getDevices(const char *source_id, const char *property_name, std::vector<ipc::value> &rval)
39303930
{
39313931
auto props = obs_get_source_properties(source_id);
39323932
if (!props) {
@@ -4105,7 +4105,7 @@ void OBS_settings::OBS_settings_getInputAudioDevices(void *data, const int64_t i
41054105
enumAudioDevices(rval, eCapture);
41064106
#elif __APPLE__
41074107
const char *source_id = "coreaudio_input_capture";
4108-
enumDevices(source_id, "device_id", rval);
4108+
getDevices(source_id, "device_id", rval);
41094109
#endif
41104110

41114111
AUTO_DEBUG;
@@ -4121,7 +4121,7 @@ void OBS_settings::OBS_settings_getOutputAudioDevices(void *data, const int64_t
41214121
enumAudioDevices(rval, eRender);
41224122
#elif __APPLE__
41234123
const char *source_id = "coreaudio_output_capture";
4124-
enumDevices(source_id, "device_id", rval);
4124+
getDevices(source_id, "device_id", rval);
41254125
#endif
41264126

41274127
AUTO_DEBUG;

0 commit comments

Comments
 (0)