mixer - ignore Peak detect named out src from pavucontrol
pavucontrol does the same thing e and emixer do - monitor input/recording sources to show a vu meter to show current input levels when appropriate. ignore these as they are not actually recording audio - just monitoring them and thus from a user experience point of view probably should be ignored.
This commit is contained in:
parent
ef788779f9
commit
0c6b0645bd
|
@ -779,7 +779,10 @@ _source_output_cb(pa_context *c EINA_UNUSED, const pa_source_output_info *info,
|
||||||
if (eol > 0)
|
if (eol > 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if ((info->name) && (!strcmp(info->name, "__e_mon"))) return;
|
if ((info->name) &&
|
||||||
|
((!strcmp(info->name, "__e_mon")) ||
|
||||||
|
(!strcmp(info->name, "Peak detect"))))
|
||||||
|
return;
|
||||||
|
|
||||||
output = calloc(1, sizeof(Source_Output));
|
output = calloc(1, sizeof(Source_Output));
|
||||||
EINA_SAFETY_ON_NULL_RETURN(output);
|
EINA_SAFETY_ON_NULL_RETURN(output);
|
||||||
|
|
Loading…
Reference in New Issue