|
|
@@ -1017,6 +1017,18 @@ EXPORT uint32_t obs_source_get_audio_mixers(const obs_source_t *source);
|
|
|
*/
|
|
|
EXPORT void obs_source_inc_showing(obs_source_t *source);
|
|
|
|
|
|
+/**
|
|
|
+ * Increments the 'active' reference counter to indicate that the source is
|
|
|
+ * fully active. If the reference counter was 0, will call the 'activate'
|
|
|
+ * callback.
|
|
|
+ *
|
|
|
+ * Unlike obs_source_inc_showing, this will cause children of this source to be
|
|
|
+ * considered showing as well (currently used by transition previews to make
|
|
|
+ * the stinger transition show correctly). obs_source_inc_showing should
|
|
|
+ * generally be used instead.
|
|
|
+ */
|
|
|
+EXPORT void obs_source_inc_active(obs_source_t *source);
|
|
|
+
|
|
|
/**
|
|
|
* Decrements the 'showing' reference counter to indicate that the source is
|
|
|
* no longer being shown somewhere. If the reference counter is set to 0,
|
|
|
@@ -1024,6 +1036,17 @@ EXPORT void obs_source_inc_showing(obs_source_t *source);
|
|
|
*/
|
|
|
EXPORT void obs_source_dec_showing(obs_source_t *source);
|
|
|
|
|
|
+/**
|
|
|
+ * Decrements the 'active' reference counter to indicate that the source is no
|
|
|
+ * longer fully active. If the reference counter is set to 0, will call the
|
|
|
+ * 'deactivate' callback
|
|
|
+ *
|
|
|
+ * Unlike obs_source_dec_showing, this will cause children of this source to be
|
|
|
+ * considered not showing as well. obs_source_dec_showing should generally be
|
|
|
+ * used instead.
|
|
|
+ */
|
|
|
+EXPORT void obs_source_dec_active(obs_source_t *source);
|
|
|
+
|
|
|
/** Enumerates filters assigned to the source */
|
|
|
EXPORT void obs_source_enum_filters(obs_source_t *source,
|
|
|
obs_source_enum_proc_t callback, void *param);
|
|
|
@@ -1342,6 +1365,8 @@ typedef float (*obs_transition_audio_mix_callback_t)(void *data, float t);
|
|
|
|
|
|
EXPORT float obs_transition_get_time(obs_source_t *transition);
|
|
|
|
|
|
+EXPORT void obs_transition_force_stop(obs_source_t *transition);
|
|
|
+
|
|
|
EXPORT void obs_transition_video_render(obs_source_t *transition,
|
|
|
obs_transition_video_render_callback_t callback);
|
|
|
|