mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
acp: rename fields
pulseaudio -> pipewire PULSE_* -> ACP_* Hopefully this does not interfere with pulseaudio anymore. See #436
This commit is contained in:
parent
1934b0adb9
commit
c61502f57c
3 changed files with 76 additions and 76 deletions
|
|
@ -239,10 +239,10 @@ static int emit_object_info(struct impl *this, uint32_t id, struct udev_device *
|
|||
items[n_items++] = SPA_DICT_ITEM_INIT(SPA_KEY_API_ALSA_PATH, path);
|
||||
items[n_items++] = SPA_DICT_ITEM_INIT(SPA_KEY_API_ALSA_CARD, str);
|
||||
|
||||
if ((str = udev_device_get_property_value(dev, "PULSE_NAME")) && *str)
|
||||
if ((str = udev_device_get_property_value(dev, "ACP_NAME")) && *str)
|
||||
items[n_items++] = SPA_DICT_ITEM_INIT(SPA_KEY_DEVICE_NAME, str);
|
||||
|
||||
if ((str = udev_device_get_property_value(dev, "PULSE_PROFILE_SET")) && *str)
|
||||
if ((str = udev_device_get_property_value(dev, "ACP_PROFILE_SET")) && *str)
|
||||
items[n_items++] = SPA_DICT_ITEM_INIT(SPA_KEY_DEVICE_PROFILE_SET, str);
|
||||
|
||||
if ((str = udev_device_get_property_value(dev, "SOUND_CLASS")) && *str)
|
||||
|
|
@ -322,7 +322,7 @@ static int need_notify(struct impl *this, struct udev_device *dev, uint32_t acti
|
|||
const char *str;
|
||||
uint32_t idx, i, found = SPA_ID_INVALID;
|
||||
|
||||
if (udev_device_get_property_value(dev, "PULSE_IGNORE"))
|
||||
if (udev_device_get_property_value(dev, "ACP_IGNORE"))
|
||||
return 0;
|
||||
|
||||
if ((str = udev_device_get_property_value(dev, "SOUND_CLASS")) && strcmp(str, "modem") == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue