/** \defgroup pw_impl_device Device Impl * * The device is an object that manages nodes. It typically * corresponds to a physical hardware device but it does not * have to be. * * The purpose of the device is to provide an interface to * dynamically create/remove/configure the nodes it manages.
*/
/** Device events, listen to them with \ref pw_impl_device_add_listener */ struct pw_impl_device_events { #define PW_VERSION_IMPL_DEVICE_EVENTS 0
uint32_t version;
/** the device is destroyed */ void (*destroy) (void *data); /** the device is freed */ void (*free) (void *data); /** the device is initialized */ void (*initialized) (void *data);
/** the device info changed */ void (*info_changed) (void *data, conststruct pw_device_info *info);
};
/** Set the device implementation */ int pw_impl_device_set_implementation(struct pw_impl_device *device, struct spa_device *spa_device); /** Get the device implementation */ struct spa_device *pw_impl_device_get_implementation(struct pw_impl_device *device);
/** Get the global of this device */ struct pw_global *pw_impl_device_get_global(struct pw_impl_device *device);
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.