This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository enlightenment.

View the commit online.

commit 0c6b0645bd4d11b99627b7005e55a21df8fd3b38
Author: Carsten Haitzler <[email protected]>
AuthorDate: Tue Mar 7 08:00:51 2023 +0000

    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.
---
 src/modules/mixer/lib/backends/pulseaudio/pulse.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/modules/mixer/lib/backends/pulseaudio/pulse.c b/src/modules/mixer/lib/backends/pulseaudio/pulse.c
index 09ee9d214..f98e28aff 100644
--- a/src/modules/mixer/lib/backends/pulseaudio/pulse.c
+++ b/src/modules/mixer/lib/backends/pulseaudio/pulse.c
@@ -779,7 +779,10 @@ _source_output_cb(pa_context *c EINA_UNUSED, const pa_source_output_info *info,
    if (eol > 0)
       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));
    EINA_SAFETY_ON_NULL_RETURN(output);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to