mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-19 13:56:06 -04:00
(API Change) libobs: Remove source_type param from functions
(Note: test and UI are also modified by this commit) API Changed (removed "enum obs_source_type type" parameter): ------------------------- obs_source_get_display_name obs_source_create obs_get_source_output_flags obs_get_source_defaults obs_get_source_properties Removes the "type" parameter from these functions. The "type" parameter really doesn't serve much of a purpose being a parameter in any of these cases, the type is just to indicate what it's used for.
This commit is contained in:
@@ -1464,10 +1464,8 @@ void OBSBasicSettings::LoadAudioDevices()
|
||||
const char *input_id = App()->InputAudioSource();
|
||||
const char *output_id = App()->OutputAudioSource();
|
||||
|
||||
obs_properties_t *input_props = obs_get_source_properties(
|
||||
OBS_SOURCE_TYPE_INPUT, input_id);
|
||||
obs_properties_t *output_props = obs_get_source_properties(
|
||||
OBS_SOURCE_TYPE_INPUT, output_id);
|
||||
obs_properties_t *input_props = obs_get_source_properties(input_id);
|
||||
obs_properties_t *output_props = obs_get_source_properties(output_id);
|
||||
|
||||
if (input_props) {
|
||||
obs_property_t *inputs = obs_properties_get(input_props,
|
||||
|
||||
Reference in New Issue
Block a user