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 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
 
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
 
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: 1
 
bool push_to_mute_pressed: 1
 
bool user_push_to_mute_pressed: 1
 
bool push_to_talk_enabled: 1
 
bool push_to_talk_pressed: 1
 
bool user_push_to_talk_pressed: 1
 
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: 1
 
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
 

Member Function Documentation

obs_source::DARRAY ( struct audio_action  )
obs_source::DARRAY ( struct audio_cb_info  )
obs_source::DARRAY ( struct async_frame  )
obs_source::DARRAY ( struct obs_source_frame )
obs_source::DARRAY ( struct obs_source )

Field Documentation

volatile long obs_source::activate_refs
bool obs_source::active
enum obs_allow_direct_render obs_source::allow_direct
bool obs_source::async_active
enum video_format obs_source::async_cache_format
uint32_t obs_source::async_cache_height
uint32_t obs_source::async_cache_width
float obs_source::async_color_matrix[16]
float obs_source::async_color_range_max[3]
float obs_source::async_color_range_min[3]
uint32_t obs_source::async_convert_height
uint32_t obs_source::async_convert_width
bool obs_source::async_flip
enum video_format obs_source::async_format
bool obs_source::async_full_range
bool obs_source::async_gpu_conversion
uint32_t obs_source::async_height
pthread_mutex_t obs_source::async_mutex
int obs_source::async_plane_offset[2]
gs_texrender_t* obs_source::async_prev_texrender
gs_texture_t* obs_source::async_prev_texture
bool obs_source::async_rendered
gs_texrender_t* obs_source::async_texrender
gs_texture_t* obs_source::async_texture
enum gs_color_format obs_source::async_texture_format
bool obs_source::async_update_texture
uint32_t obs_source::async_width
pthread_mutex_t obs_source::audio_actions_mutex
pthread_mutex_t obs_source::audio_buf_mutex
pthread_mutex_t obs_source::audio_cb_mutex
struct obs_audio_data obs_source::audio_data
bool obs_source::audio_failed
struct circlebuf obs_source::audio_input_buf[MAX_AUDIO_CHANNELS]
uint32_t obs_source::audio_mixers
pthread_mutex_t obs_source::audio_mutex
float* obs_source::audio_output_buf[MAX_AUDIO_MIXES][MAX_AUDIO_CHANNELS]
bool obs_source::audio_pending
size_t obs_source::audio_storage_size
uint64_t obs_source::audio_ts
struct obs_context_data obs_source::context
struct obs_weak_source* obs_source::control
struct obs_source_frame* obs_source::cur_async_frame
uint32_t obs_source::default_flags
bool obs_source::defer_update
gs_effect_t* obs_source::deinterlace_effect
uint64_t obs_source::deinterlace_frame_ts
uint32_t obs_source::deinterlace_half_duration
enum obs_deinterlace_mode obs_source::deinterlace_mode
uint64_t obs_source::deinterlace_offset
bool obs_source::deinterlace_rendered
bool obs_source::deinterlace_top_first
bool obs_source::enabled
pthread_mutex_t obs_source::filter_mutex
struct obs_source* obs_source::filter_parent
struct obs_source* obs_source::filter_target
gs_texrender_t* obs_source::filter_texrender
uint32_t obs_source::flags
struct obs_source_info obs_source::info
size_t obs_source::last_audio_input_buf_size
uint64_t obs_source::last_audio_ts
uint64_t obs_source::last_frame_ts
int64_t obs_source::last_sync_offset
uint64_t obs_source::last_sys_timestamp
struct audio_monitor* obs_source::monitor
enum obs_monitoring_type obs_source::monitoring_type
obs_hotkey_pair_id obs_source::mute_unmute_key
bool obs_source::muted
struct obs_source* obs_source::next_audio_source
uint64_t obs_source::next_audio_sys_ts_min
uint64_t obs_source::next_audio_ts_min
bool obs_source::owns_info_id
struct obs_source_frame* obs_source::prev_async_frame
struct obs_source** obs_source::prev_next_audio_source
uint64_t obs_source::push_to_mute_delay
bool obs_source::push_to_mute_enabled
obs_hotkey_id obs_source::push_to_mute_key
bool obs_source::push_to_mute_pressed
uint64_t obs_source::push_to_mute_stop_time
uint64_t obs_source::push_to_talk_delay
bool obs_source::push_to_talk_enabled
obs_hotkey_id obs_source::push_to_talk_key
bool obs_source::push_to_talk_pressed
uint64_t obs_source::push_to_talk_stop_time
bool obs_source::removed
bool obs_source::rendering_filter
uint64_t obs_source::resample_offset
audio_resampler_t* obs_source::resampler
struct resample_info obs_source::sample_info
volatile long obs_source::show_refs
bool obs_source::showing
int64_t obs_source::sync_offset
volatile uint64_t obs_source::timing_adjust
volatile bool obs_source::timing_set
uint32_t obs_source::transition_actual_cx
uint32_t obs_source::transition_actual_cy
uint32_t obs_source::transition_alignment
uint32_t obs_source::transition_cx
uint32_t obs_source::transition_cy
uint64_t obs_source::transition_duration
uint32_t obs_source::transition_fixed_duration
struct matrix4 obs_source::transition_matrices[2]
enum obs_transition_mode obs_source::transition_mode
pthread_mutex_t obs_source::transition_mutex
enum obs_transition_scale_type obs_source::transition_scale_type
bool obs_source::transition_source_active[2]
obs_source_t* obs_source::transition_sources[2]
uint64_t obs_source::transition_start_time
pthread_mutex_t obs_source::transition_tex_mutex
gs_texrender_t* obs_source::transition_texrender[2]
bool obs_source::transition_use_fixed_duration
bool obs_source::transitioning_audio
bool obs_source::transitioning_video
bool obs_source::user_muted
bool obs_source::user_push_to_mute_pressed
bool obs_source::user_push_to_talk_pressed
float obs_source::user_volume
float obs_source::volume

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