mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-01-09 17:40:14 +01:00
softdsp-endpoint: don't rename the endpoint on creation
This commit is contained in:
parent
b9e594e5f9
commit
134f62a189
1 changed files with 0 additions and 10 deletions
|
|
@ -308,16 +308,6 @@ on_audio_adapter_created(GObject *initable, GAsyncResult *res,
|
|||
|
||||
props = wp_proxy_node_get_properties (self->proxy_node);
|
||||
|
||||
/* Give a proper name to this endpoint based on adapter properties */
|
||||
if (0 == g_strcmp0(wp_properties_get (props, SPA_KEY_DEVICE_API), "alsa")) {
|
||||
name = g_strdup_printf ("%s on %s (%s / node %s)",
|
||||
wp_properties_get (props, SPA_KEY_API_ALSA_PCM_NAME),
|
||||
wp_properties_get (props, SPA_KEY_API_ALSA_CARD_NAME),
|
||||
wp_properties_get (props, SPA_KEY_API_ALSA_PATH),
|
||||
wp_properties_get (props, PW_KEY_OBJECT_ID));
|
||||
g_object_set (self, "name", name, NULL);
|
||||
}
|
||||
|
||||
/* Set the role */
|
||||
self->role = g_strdup (wp_properties_get (props, PW_KEY_MEDIA_ROLE));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue