79XRT_NONNULL_ALL
static inline void
enum xrt_result xrt_result_t
Result type used across Monado.
A object that is sent frames.
Definition xrt_frame.h:58
Something that produces frames, and pushes them to all sinks added to it.
Definition xrt_frame_source.h:37
static XRT_NONNULL_ALL void xrt_frame_source_remove_sink(struct xrt_frame_source *xfsrc, struct xrt_frame_sink *xs)
Remove a sink, does nothing if it hasn't been added.
Definition xrt_frame_source.h:80
void(* remove_sink)(struct xrt_frame_source *xfsrc, struct xrt_frame_sink *xs)
Remove a sink, does nothing if it hasn't been added.
Definition xrt_frame_source.h:56
static XRT_NONNULL_ALL xrt_result_t xrt_frame_source_add_sink(struct xrt_frame_source *xfsrc, struct xrt_frame_sink *xs)
Add a sink that frames will be pushed to.
Definition xrt_frame_source.h:67
xrt_result_t(* add_sink)(struct xrt_frame_source *xfsrc, struct xrt_frame_sink *xs)
Add a sink that frames will be pushed to.
Definition xrt_frame_source.h:47
Internal result type for XRT.