@@ -3870,20 +3870,20 @@ void getDevices(const char *source_id, const char *property_name, std::vector<ip
38703870{
38713871 auto props = obs_get_source_properties (source_id);
38723872 if (!props) {
3873- std::ostringstream ss;
3874- ss << " Could not get source properties for source id: " << source_id;
3873+ std::ostringstream ss;
3874+ ss << " Could not get source properties for source id: " << source_id;
38753875 PRETTY_ERROR_RETURN (ErrorCode::Error, ss.str ());
38763876 }
38773877
38783878 auto prop = obs_properties_get (props, property_name);
38793879 if (!prop) {
3880- obs_properties_destroy (props);
3881- std::ostringstream ss;
3882- ss << " Could not get source property " << property_name << " for source id: " << source_id;
3883- PRETTY_ERROR_RETURN (ErrorCode::Error, ss.str ());
3880+ obs_properties_destroy (props);
3881+ std::ostringstream ss;
3882+ ss << " Could not get source property " << property_name << " for source id: " << source_id;
3883+ PRETTY_ERROR_RETURN (ErrorCode::Error, ss.str ());
38843884 }
38853885
3886- rval.push_back (ipc::value ((uint64_t )ErrorCode::Ok));
3886+ rval.push_back (ipc::value ((uint64_t )ErrorCode::Ok));
38873887 size_t items = obs_property_list_item_count (prop);
38883888 rval.push_back (ipc::value ((uint64_t )items));
38893889
@@ -3892,8 +3892,8 @@ void getDevices(const char *source_id, const char *property_name, std::vector<ip
38923892 const char *device_id = obs_property_list_item_string (prop, idx);
38933893
38943894 if (!description || !strcmp (description, " " ) || !device_id || !strcmp (device_id, " " )) {
3895- if (rval[1 ].value_union .ui64 > 0 )
3896- rval[1 ].value_union .ui64 --;
3895+ if (rval[1 ].value_union .ui64 > 0 )
3896+ rval[1 ].value_union .ui64 --;
38973897 continue ;
38983898 }
38993899
@@ -4039,7 +4039,7 @@ void enumAudioDevices(std::vector<ipc::value> &rval, EDataFlow dataFlow)
40394039void OBS_settings::OBS_settings_getInputAudioDevices (void *data, const int64_t id, const std::vector<ipc::value> &args, std::vector<ipc::value> &rval)
40404040{
40414041#ifdef WIN32
4042- rval.push_back (ipc::value ((uint64_t )ErrorCode::Ok));
4042+ rval.push_back (ipc::value ((uint64_t )ErrorCode::Ok));
40434043 rval.push_back (ipc::value ((uint32_t )1 ));
40444044 rval.push_back (ipc::value (" Default" ));
40454045 rval.push_back (ipc::value (" default" ));
@@ -4055,7 +4055,7 @@ void OBS_settings::OBS_settings_getInputAudioDevices(void *data, const int64_t i
40554055void OBS_settings::OBS_settings_getOutputAudioDevices (void *data, const int64_t id, const std::vector<ipc::value> &args, std::vector<ipc::value> &rval)
40564056{
40574057#ifdef WIN32
4058- rval.push_back (ipc::value ((uint64_t )ErrorCode::Ok));
4058+ rval.push_back (ipc::value ((uint64_t )ErrorCode::Ok));
40594059 rval.push_back (ipc::value ((uint32_t )1 ));
40604060 rval.push_back (ipc::value (" Default" ));
40614061 rval.push_back (ipc::value (" default" ));
0 commit comments