diff options
author | Chris Robinson <[email protected]> | 2021-10-26 09:40:10 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-10-26 09:40:10 -0700 |
commit | b81fa0dc90d269677a5f74f8d8a6b1dea88d7ecc (patch) | |
tree | 0129645a3433659586eeb41baa92200d278a69f7 /alc/backends/pipewire.cpp | |
parent | 4de789ba686924cd74a7c21f3a485f8c18db4d83 (diff) |
Don't trace unused metadata properties and node types
As useful as it may sometimes be to see what's being provided, at least under
kwin_wayland a not-insignificant number of video-related nodes and metadata
properties are sent through normal use of the system (most notably when
hovering over the taskbar to see window thumbnails).
Diffstat (limited to 'alc/backends/pipewire.cpp')
-rw-r--r-- | alc/backends/pipewire.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/alc/backends/pipewire.cpp b/alc/backends/pipewire.cpp index 5b172551..0e99fdc4 100644 --- a/alc/backends/pipewire.cpp +++ b/alc/backends/pipewire.cpp @@ -725,10 +725,7 @@ int MetadataProxy::propertyCallback(uint32_t id, const char *key, const char *ty else if(std::strcmp(key, "default.audio.source") == 0) isCapture = true; else - { - TRACE("Skipping property \"%s\"\n", key); return 0; - } if(!type) { @@ -856,10 +853,7 @@ void EventManager::addCallback(uint32_t id, uint32_t, const char *type, uint32_t const bool isGood{al::strcasecmp(media_class, AudioSinkClass) == 0 || al::strcasecmp(media_class, AudioSourceClass) == 0}; if(!isGood) - { - TRACE("Skipping node type \"%s\"\n", media_class); return; - } /* Create the proxy object. */ auto *proxy = static_cast<pw_proxy*>(pw_registry_bind(mRegistry, id, type, version, |