alsa: Fill in alsa.name for PCM sinks

The device description may be used as the "alsa.name" property, to match
what is done for card devices.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9534>
This commit is contained in:
Adrian Perez de Castro 2025-08-11 16:12:18 +03:00 committed by GStreamer Marge Bot
parent aae0ed6eb2
commit 2ebb835381

View File

@ -235,6 +235,7 @@ gst_alsa_device_provider_probe_pcm_sinks (GstDeviceProvider * provider,
GstStructure *props = gst_structure_new ("alsa-proplist",
"device.api", G_TYPE_STRING, "alsa",
"device.class", G_TYPE_STRING, "sound",
"alsa.name", G_TYPE_STRING, desc,
NULL);
GstAlsaDevice *gstdev = g_object_new (GST_TYPE_ALSA_DEVICE,
"display-name", desc,