m-mixer: downgrade warnings about no backend to debug messages

This is a situation that always happens on startup, so let's not
spam with warnings
This commit is contained in:
George Kiagiadakis
2019-06-20 12:56:53 +03:00
parent ee00a24688
commit d236fea23d

View File

@@ -199,7 +199,7 @@ mixer_endpoint_get_control_value (WpEndpoint * ep, guint32 control_id)
/* if there is no backend, return the default value */
if (!backend) {
g_warning ("Mixer:%p Cannot get control value - no backend", self);
g_debug ("Mixer:%p Cannot get control value - no backend", self);
switch (control_id) {
case CONTROL_VOLUME:
@@ -237,7 +237,7 @@ mixer_endpoint_set_control_value (WpEndpoint * ep, guint32 control_id,
backend = g_weak_ref_get (&group->backend);
if (!backend) {
g_warning ("Mixer:%p Cannot set control value - no backend", self);
g_debug ("Mixer:%p Cannot set control value - no backend", self);
return FALSE;
}