(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:
parent
20db7649aa
commit
b0104fcee0
12 changed files with 55 additions and 98 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue