Commit 44a0c55e authored by Julian Bouzas's avatar Julian Bouzas
Browse files

m-si-audio-endpoint: do not use virtual media class for null sink nodes

The PulseAudio layer does not recognize virtual media classes.
parent 6624eaaf
Pipeline #428090 passed with stages
in 1 minute and 19 seconds
......@@ -227,7 +227,7 @@ si_audio_endpoint_enable_active (WpSessionItem *si, WpTransition *transition)
g_autofree gchar *name = g_strdup_printf ("control.%s", self->name);
g_autofree gchar *desc = g_strdup_printf ("%s %s Endpoint", self->role,
(self->direction == WP_DIRECTION_OUTPUT) ? "Capture" : "Playback");
g_autofree gchar *media = g_strdup_printf ("Audio/%s/Virtual",
g_autofree gchar *media = g_strdup_printf ("Audio/%s",
(self->direction == WP_DIRECTION_OUTPUT) ? "Source" : "Sink");
if (!wp_session_item_is_configured (si)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment