Open Broadcaster Software
Free, open source software for live streaming and recording
obs_source Struct Reference

Public Member Functions

 DARRAY (struct audio_action) audio_actions
 
 DARRAY (struct audio_cb_info) audio_cb_list
 
 DARRAY (struct async_frame) async_cache
 
 DARRAY (struct obs_source_frame *) async_frames
 
 DARRAY (struct obs_source *) filters
 

Data Fields

struct obs_context_data context
 
struct obs_source_info info
 
struct obs_weak_sourcecontrol
 
uint32_t flags
 
uint32_t default_flags
 
bool owns_info_id
 
bool defer_update
 
volatile long show_refs
 
volatile long activate_refs
 
bool removed
 
bool active
 
bool showing
 
bool enabled
 
volatile bool timing_set
 
volatile uint64_t timing_adjust
 
uint64_t resample_offset
 
uint64_t last_audio_ts
 
uint64_t next_audio_ts_min
 
uint64_t next_audio_sys_ts_min
 
uint64_t last_frame_ts
 
uint64_t last_sys_timestamp
 
bool async_rendered
 
bool audio_failed
 
bool audio_pending
 
bool pending_stop
 
bool user_muted
 
bool muted
 
struct obs_sourcenext_audio_source
 
struct obs_source ** prev_next_audio_source
 
uint64_t audio_ts
 
struct circlebuf audio_input_buf [MAX_AUDIO_CHANNELS]
 
size_t last_audio_input_buf_size
 
float * audio_output_buf [MAX_AUDIO_MIXES][MAX_AUDIO_CHANNELS]
 
struct resample_info sample_info
 
audio_resampler_tresampler
 
pthread_mutex_t audio_actions_mutex
 
pthread_mutex_t audio_buf_mutex
 
pthread_mutex_t audio_mutex
 
pthread_mutex_t audio_cb_mutex
 
struct obs_audio_data audio_data
 
size_t audio_storage_size
 
uint32_t audio_mixers
 
float user_volume
 
float volume
 
int64_t sync_offset
 
int64_t last_sync_offset
 
float balance
 
gs_texture_tasync_texture
 
gs_texrender_tasync_texrender
 
struct obs_source_framecur_async_frame
 
bool async_gpu_conversion
 
enum video_format async_format
 
enum video_format async_cache_format
 
enum gs_color_format async_texture_format
 
float async_color_matrix [16]
 
bool async_full_range
 
float async_color_range_min [3]
 
float async_color_range_max [3]
 
int async_plane_offset [2]
 
bool async_flip
 
bool async_active
 
bool async_update_texture
 
bool async_unbuffered
 
bool async_decoupled
 
struct obs_source_frameasync_preload_frame
 
pthread_mutex_t async_mutex
 
uint32_t async_width
 
uint32_t async_height
 
uint32_t async_cache_width
 
uint32_t async_cache_height
 
uint32_t async_convert_width
 
uint32_t async_convert_height
 
uint64_t deinterlace_offset
 
uint64_t deinterlace_frame_ts
 
gs_effect_tdeinterlace_effect
 
struct obs_source_frameprev_async_frame
 
gs_texture_tasync_prev_texture
 
gs_texrender_tasync_prev_texrender
 
uint32_t deinterlace_half_duration
 
enum obs_deinterlace_mode deinterlace_mode
 
bool deinterlace_top_first
 
bool deinterlace_rendered
 
struct obs_sourcefilter_parent
 
struct obs_sourcefilter_target
 
pthread_mutex_t filter_mutex
 
gs_texrender_tfilter_texrender
 
enum obs_allow_direct_render allow_direct
 
bool rendering_filter
 
obs_hotkey_pair_id mute_unmute_key
 
obs_hotkey_id push_to_mute_key
 
obs_hotkey_id push_to_talk_key
 
bool push_to_mute_enabled
 
bool push_to_mute_pressed
 
bool user_push_to_mute_pressed
 
bool push_to_talk_enabled
 
bool push_to_talk_pressed
 
bool user_push_to_talk_pressed
 
uint64_t push_to_mute_delay
 
uint64_t push_to_mute_stop_time
 
uint64_t push_to_talk_delay
 
uint64_t push_to_talk_stop_time
 
uint64_t transition_start_time
 
uint64_t transition_duration
 
pthread_mutex_t transition_tex_mutex
 
gs_texrender_ttransition_texrender [2]
 
pthread_mutex_t transition_mutex
 
obs_source_ttransition_sources [2]
 
bool transitioning_video
 
bool transitioning_audio
 
bool transition_source_active [2]
 
uint32_t transition_alignment
 
uint32_t transition_actual_cx
 
uint32_t transition_actual_cy
 
uint32_t transition_cx
 
uint32_t transition_cy
 
uint32_t transition_fixed_duration
 
bool transition_use_fixed_duration
 
enum obs_transition_mode transition_mode
 
enum obs_transition_scale_type transition_scale_type
 
struct matrix4 transition_matrices [2]
 
struct audio_monitor * monitor
 
enum obs_monitoring_type monitoring_type
 
obs_data_tprivate_settings
 

Member Function Documentation

◆ DARRAY() [1/5]

obs_source::DARRAY ( struct audio_action  )

◆ DARRAY() [2/5]

obs_source::DARRAY ( struct audio_cb_info  )

◆ DARRAY() [3/5]

obs_source::DARRAY ( struct async_frame  )

◆ DARRAY() [4/5]

obs_source::DARRAY ( struct obs_source_frame )

◆ DARRAY() [5/5]

obs_source::DARRAY ( struct obs_source )

Field Documentation

◆ activate_refs

volatile long obs_source::activate_refs

◆ active

bool obs_source::active

◆ allow_direct

enum obs_allow_direct_render obs_source::allow_direct

◆ async_active

bool obs_source::async_active

◆ async_cache_format

enum video_format obs_source::async_cache_format

◆ async_cache_height

uint32_t obs_source::async_cache_height

◆ async_cache_width

uint32_t obs_source::async_cache_width

◆ async_color_matrix

float obs_source::async_color_matrix[16]

◆ async_color_range_max

float obs_source::async_color_range_max[3]

◆ async_color_range_min

float obs_source::async_color_range_min[3]

◆ async_convert_height

uint32_t obs_source::async_convert_height

◆ async_convert_width

uint32_t obs_source::async_convert_width

◆ async_decoupled

bool obs_source::async_decoupled

◆ async_flip

bool obs_source::async_flip

◆ async_format

enum video_format obs_source::async_format

◆ async_full_range

bool obs_source::async_full_range

◆ async_gpu_conversion

bool obs_source::async_gpu_conversion

◆ async_height

uint32_t obs_source::async_height

◆ async_mutex

pthread_mutex_t obs_source::async_mutex

◆ async_plane_offset

int obs_source::async_plane_offset[2]

◆ async_preload_frame

struct obs_source_frame* obs_source::async_preload_frame

◆ async_prev_texrender

gs_texrender_t* obs_source::async_prev_texrender

◆ async_prev_texture

gs_texture_t* obs_source::async_prev_texture

◆ async_rendered

bool obs_source::async_rendered

◆ async_texrender

gs_texrender_t* obs_source::async_texrender

◆ async_texture

gs_texture_t* obs_source::async_texture

◆ async_texture_format

enum gs_color_format obs_source::async_texture_format

◆ async_unbuffered

bool obs_source::async_unbuffered

◆ async_update_texture

bool obs_source::async_update_texture

◆ async_width

uint32_t obs_source::async_width

◆ audio_actions_mutex

pthread_mutex_t obs_source::audio_actions_mutex

◆ audio_buf_mutex

pthread_mutex_t obs_source::audio_buf_mutex

◆ audio_cb_mutex

pthread_mutex_t obs_source::audio_cb_mutex

◆ audio_data

struct obs_audio_data obs_source::audio_data

◆ audio_failed

bool obs_source::audio_failed

◆ audio_input_buf

struct circlebuf obs_source::audio_input_buf[MAX_AUDIO_CHANNELS]

◆ audio_mixers

uint32_t obs_source::audio_mixers

◆ audio_mutex

pthread_mutex_t obs_source::audio_mutex

◆ audio_output_buf

float* obs_source::audio_output_buf[MAX_AUDIO_MIXES][MAX_AUDIO_CHANNELS]

◆ audio_pending

bool obs_source::audio_pending

◆ audio_storage_size

size_t obs_source::audio_storage_size

◆ audio_ts

uint64_t obs_source::audio_ts

◆ balance

float obs_source::balance

◆ context

struct obs_context_data obs_source::context

◆ control

struct obs_weak_source* obs_source::control

◆ cur_async_frame

struct obs_source_frame* obs_source::cur_async_frame

◆ default_flags

uint32_t obs_source::default_flags

◆ defer_update

bool obs_source::defer_update

◆ deinterlace_effect

gs_effect_t* obs_source::deinterlace_effect

◆ deinterlace_frame_ts

uint64_t obs_source::deinterlace_frame_ts

◆ deinterlace_half_duration

uint32_t obs_source::deinterlace_half_duration

◆ deinterlace_mode

enum obs_deinterlace_mode obs_source::deinterlace_mode

◆ deinterlace_offset

uint64_t obs_source::deinterlace_offset

◆ deinterlace_rendered

bool obs_source::deinterlace_rendered

◆ deinterlace_top_first

bool obs_source::deinterlace_top_first

◆ enabled

bool obs_source::enabled

◆ filter_mutex

pthread_mutex_t obs_source::filter_mutex

◆ filter_parent

struct obs_source* obs_source::filter_parent

◆ filter_target

struct obs_source* obs_source::filter_target

◆ filter_texrender

gs_texrender_t* obs_source::filter_texrender

◆ flags

uint32_t obs_source::flags

◆ info

struct obs_source_info obs_source::info

◆ last_audio_input_buf_size

size_t obs_source::last_audio_input_buf_size

◆ last_audio_ts

uint64_t obs_source::last_audio_ts

◆ last_frame_ts

uint64_t obs_source::last_frame_ts

◆ last_sync_offset

int64_t obs_source::last_sync_offset

◆ last_sys_timestamp

uint64_t obs_source::last_sys_timestamp

◆ monitor

struct audio_monitor* obs_source::monitor

◆ monitoring_type

enum obs_monitoring_type obs_source::monitoring_type

◆ mute_unmute_key

obs_hotkey_pair_id obs_source::mute_unmute_key

◆ muted

bool obs_source::muted

◆ next_audio_source

struct obs_source* obs_source::next_audio_source

◆ next_audio_sys_ts_min

uint64_t obs_source::next_audio_sys_ts_min

◆ next_audio_ts_min

uint64_t obs_source::next_audio_ts_min

◆ owns_info_id

bool obs_source::owns_info_id

◆ pending_stop

bool obs_source::pending_stop

◆ prev_async_frame

struct obs_source_frame* obs_source::prev_async_frame

◆ prev_next_audio_source

struct obs_source** obs_source::prev_next_audio_source

◆ private_settings

obs_data_t* obs_source::private_settings

◆ push_to_mute_delay

uint64_t obs_source::push_to_mute_delay

◆ push_to_mute_enabled

bool obs_source::push_to_mute_enabled

◆ push_to_mute_key

obs_hotkey_id obs_source::push_to_mute_key

◆ push_to_mute_pressed

bool obs_source::push_to_mute_pressed

◆ push_to_mute_stop_time

uint64_t obs_source::push_to_mute_stop_time

◆ push_to_talk_delay

uint64_t obs_source::push_to_talk_delay

◆ push_to_talk_enabled

bool obs_source::push_to_talk_enabled

◆ push_to_talk_key

obs_hotkey_id obs_source::push_to_talk_key

◆ push_to_talk_pressed

bool obs_source::push_to_talk_pressed

◆ push_to_talk_stop_time

uint64_t obs_source::push_to_talk_stop_time

◆ removed

bool obs_source::removed

◆ rendering_filter

bool obs_source::rendering_filter

◆ resample_offset

uint64_t obs_source::resample_offset

◆ resampler

audio_resampler_t* obs_source::resampler

◆ sample_info

struct resample_info obs_source::sample_info

◆ show_refs

volatile long obs_source::show_refs

◆ showing

bool obs_source::showing

◆ sync_offset

int64_t obs_source::sync_offset

◆ timing_adjust

volatile uint64_t obs_source::timing_adjust

◆ timing_set

volatile bool obs_source::timing_set

◆ transition_actual_cx

uint32_t obs_source::transition_actual_cx

◆ transition_actual_cy

uint32_t obs_source::transition_actual_cy

◆ transition_alignment

uint32_t obs_source::transition_alignment

◆ transition_cx

uint32_t obs_source::transition_cx

◆ transition_cy

uint32_t obs_source::transition_cy

◆ transition_duration

uint64_t obs_source::transition_duration

◆ transition_fixed_duration

uint32_t obs_source::transition_fixed_duration

◆ transition_matrices

struct matrix4 obs_source::transition_matrices[2]

◆ transition_mode

enum obs_transition_mode obs_source::transition_mode

◆ transition_mutex

pthread_mutex_t obs_source::transition_mutex

◆ transition_scale_type

enum obs_transition_scale_type obs_source::transition_scale_type

◆ transition_source_active

bool obs_source::transition_source_active[2]

◆ transition_sources

obs_source_t* obs_source::transition_sources[2]

◆ transition_start_time

uint64_t obs_source::transition_start_time

◆ transition_tex_mutex

pthread_mutex_t obs_source::transition_tex_mutex

◆ transition_texrender

gs_texrender_t* obs_source::transition_texrender[2]

◆ transition_use_fixed_duration

bool obs_source::transition_use_fixed_duration

◆ transitioning_audio

bool obs_source::transitioning_audio

◆ transitioning_video

bool obs_source::transitioning_video

◆ user_muted

bool obs_source::user_muted

◆ user_push_to_mute_pressed

bool obs_source::user_push_to_mute_pressed

◆ user_push_to_talk_pressed

bool obs_source::user_push_to_talk_pressed

◆ user_volume

float obs_source::user_volume

◆ volume

float obs_source::volume

The documentation for this struct was generated from the following file: