Skip to content
Snippets Groups Projects
Commit 6e5905f6 authored by George Kiagiadakis's avatar George Kiagiadakis Committed by Julian Bouzas
Browse files

softdsp-endpoint: dont't add the stream-id field on the description of the master controls

This is currently the documented way of describing controls
that have an effect on all streams
parent afcf9f4f
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,8 @@ register_controls (WpPwAudioDsp * self)
g_variant_dict_init (&d, NULL);
g_variant_dict_insert (&d, "id", "u",
wp_pw_audio_dsp_id_encode (self->id, CONTROL_VOLUME));
g_variant_dict_insert (&d, "stream-id", "u", self->id);
if (self->id != WP_STREAM_ID_NONE)
g_variant_dict_insert (&d, "stream-id", "u", self->id);
g_variant_dict_insert (&d, "name", "s", "volume");
g_variant_dict_insert (&d, "type", "s", "d");
g_variant_dict_insert (&d, "range", "(dd)", 0.0, 1.0);
......@@ -136,7 +137,8 @@ register_controls (WpPwAudioDsp * self)
g_variant_dict_init (&d, NULL);
g_variant_dict_insert (&d, "id", "u",
wp_pw_audio_dsp_id_encode (self->id, CONTROL_MUTE));
g_variant_dict_insert (&d, "stream-id", "u", self->id);
if (self->id != WP_STREAM_ID_NONE)
g_variant_dict_insert (&d, "stream-id", "u", self->id);
g_variant_dict_insert (&d, "name", "s", "mute");
g_variant_dict_insert (&d, "type", "s", "b");
g_variant_dict_insert (&d, "default-value", "b", self->mute);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment