/** \enum pw_node_state The different node states */ enum pw_node_state {
PW_NODE_STATE_ERROR = -1, /**< error state */
PW_NODE_STATE_CREATING = 0, /**< the node is being created */
PW_NODE_STATE_SUSPENDED = 1, /**< the node is suspended, the device might
* be closed */
PW_NODE_STATE_IDLE = 2, /**< the node is running but there is no active
* port */
PW_NODE_STATE_RUNNING = 3, /**< the node is running */
};
/** Convert a \ref pw_node_state to a readable string */ constchar * pw_node_state_as_string(enum pw_node_state state);
/** The node information. Extra information can be added in later versions */ struct pw_node_info {
uint32_t id; /**< id of the global */
uint32_t max_input_ports; /**< maximum number of inputs */
uint32_t max_output_ports; /**< maximum number of outputs */ #define PW_NODE_CHANGE_MASK_INPUT_PORTS (1 << 0) #define PW_NODE_CHANGE_MASK_OUTPUT_PORTS (1 << 1) #define PW_NODE_CHANGE_MASK_STATE (1 << 2) #define PW_NODE_CHANGE_MASK_PROPS (1 << 3) #define PW_NODE_CHANGE_MASK_PARAMS (1 << 4) #define PW_NODE_CHANGE_MASK_ALL ((1 << 5)-1)
uint64_t change_mask; /**< bitfield of changed fields since last call */
uint32_t n_input_ports; /**< number of inputs */
uint32_t n_output_ports; /**< number of outputs */ enum pw_node_state state; /**< the current state of the node */ constchar *error; /**< an error reason if \a state is error */ struct spa_dict *props; /**< the properties of the node */ struct spa_param_info *params; /**< parameters */
uint32_t n_params; /**< number of items in \a params */
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.