mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
pulse-server: map "device.sysfs.path" to "sysfs.path"
This commit is contained in:
parent
0d33760b71
commit
e0731f0ffa
2 changed files with 2 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ const struct str_map media_role_map[] = {
|
|||
|
||||
const struct str_map props_key_map[] = {
|
||||
{ PW_KEY_DEVICE_BUS_PATH, "device.bus_path" },
|
||||
{ PW_KEY_DEVICE_SYSFS_PATH, "sysfs.path" },
|
||||
{ PW_KEY_DEVICE_FORM_FACTOR, "device.form_factor" },
|
||||
{ PW_KEY_DEVICE_ICON_NAME, "device.icon_name" },
|
||||
{ PW_KEY_DEVICE_INTENDED_ROLES, "device.intended_roles" },
|
||||
|
|
|
|||
|
|
@ -249,6 +249,7 @@ extern "C" {
|
|||
* "isa", "pci", "usb", "firewire",
|
||||
* "bluetooth" */
|
||||
#define PW_KEY_DEVICE_SUBSYSTEM "device.subsystem" /**< device subsystem */
|
||||
#define PW_KEY_DEVICE_SYSFS_PATH "device.sysfs.path" /**< device sysfs path */
|
||||
#define PW_KEY_DEVICE_ICON "device.icon" /**< icon for the device. A base64 blob
|
||||
* containing PNG image data */
|
||||
#define PW_KEY_DEVICE_ICON_NAME "device.icon-name" /**< an XDG icon name for the device.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue