/* WirePlumber * * Copyright © 2019 Collabora Ltd. * @author Julian Bouzas * * SPDX-License-Identifier: MIT */ #ifndef __WIREPLUMBER_PORT_H__ #define __WIREPLUMBER_PORT_H__ #include "proxy.h" G_BEGIN_DECLS /** * WpDirection: * @WP_DIRECTION_INPUT: a sink, consuming input * @WP_DIRECTION_OUTPUT: a source, producing output * * The different directions the endpoint can have */ typedef enum { WP_DIRECTION_INPUT, WP_DIRECTION_OUTPUT, } WpDirection; /** * WP_TYPE_PORT: * * The #WpPort #GType */ #define WP_TYPE_PORT (wp_port_get_type ()) WP_API G_DECLARE_FINAL_TYPE (WpPort, wp_port, WP, PORT, WpProxy) WP_API WpDirection wp_port_get_direction (WpPort * self); G_END_DECLS #endif