/** info changed for an object managed by the device, info is NULL when
* the object is removed */ void (*object_info) (void *data, uint32_t id, conststruct spa_device_object_info *info);
};
/** *spa_device_methods:
*/ struct spa_device_methods { /* the version of the methods. This can be used to expand this
* structure in the future */ #define SPA_VERSION_DEVICE_METHODS 0
uint32_t version;
#define SPA_KEY_DEVICE_ENUM_API "device.enum.api"/**< the api used to discover this
* device */ #define SPA_KEY_DEVICE_API "device.api"/**< the api used by the device
* Ex. "udev", "alsa", "v4l2". */ #define SPA_KEY_DEVICE_NAME "device.name"/**< the name of the device */ #define SPA_KEY_DEVICE_ALIAS "device.alias"/**< alternative name of the device */ #define SPA_KEY_DEVICE_NICK "device.nick"/**< the device short name */ #define SPA_KEY_DEVICE_DESCRIPTION "device.description"/**< a device description */ #define SPA_KEY_DEVICE_ICON "device.icon"/**< icon for the device. A base64 blob
* containing PNG image data */ #define SPA_KEY_DEVICE_ICON_NAME "device.icon-name"/**< an XDG icon name for the device.
* Ex. "sound-card-speakers-usb" */ #define SPA_KEY_DEVICE_PLUGGED_USEC "device.plugged.usec"/**< when the device was plugged */
#define SPA_KEY_DEVICE_BUS_ID "device.bus-id"/**< the device bus-id */ #define SPA_KEY_DEVICE_BUS_PATH "device.bus-path"/**< bus path to the device in the OS' *format.
* Ex. "pci-0000:00:14.0-usb-0:3.2:1.0" */ #define SPA_KEY_DEVICE_BUS "device.bus"/**< bus of the device if applicable. One of *"isa","pci","usb","firewire",
* "bluetooth" */ #define SPA_KEY_DEVICE_SUBSYSTEM "device.subsystem"/**< device subsystem */ #define SPA_KEY_DEVICE_SYSFS_PATH "device.sysfs.path"/**< device sysfs path */
#define SPA_KEY_DEVICE_VENDOR_ID "device.vendor.id"/**< vendor ID if applicable */ #define SPA_KEY_DEVICE_VENDOR_NAME "device.vendor.name"/**< vendor name if applicable */ #define SPA_KEY_DEVICE_PRODUCT_ID "device.product.id"/**< product ID if applicable */ #define SPA_KEY_DEVICE_PRODUCT_NAME "device.product.name"/**< product name if applicable */ #define SPA_KEY_DEVICE_SERIAL "device.serial"/**< Serial number if applicable */ #define SPA_KEY_DEVICE_CLASS "device.class"/**< device class */ #define SPA_KEY_DEVICE_CAPABILITIES "device.capabilities"/**< api specific device capabilities */ #define SPA_KEY_DEVICE_FORM_FACTOR "device.form-factor"/**< form factor if applicable. One of *"internal","speaker","handset","tv", *"webcam","microphone","headset", *"headphone","hands-free","car","hifi",
* "computer", "portable" */ #define SPA_KEY_DEVICE_PROFILE "device.profile"/**< profile for the device */ #define SPA_KEY_DEVICE_PROFILE_SET "device.profile-set"/**< profile set for the device */ #define SPA_KEY_DEVICE_STRING "device.string"/**< device string in the underlying
* layer's format. E.g. "surround51:0" */ #define SPA_KEY_DEVICE_DEVIDS "device.devids"/**< space separated list of device ids (dev_t) of the
* underlying device(s) if applicable */ /** *\}
*/
#ifdef __cplusplus
} /* extern "C" */ #endif
#endif/* SPA_DEVICE_H */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.15 Sekunden
(vorverarbeitet am 2026-08-26)
¤
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.