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:
parent
aae0ed6eb2
commit
2ebb835381
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user