{"id":286,"date":"2022-01-15T12:43:23","date_gmt":"2022-01-15T12:43:23","guid":{"rendered":"https:\/\/www.coralbark.net\/blog\/?p=286"},"modified":"2022-01-15T12:43:24","modified_gmt":"2022-01-15T12:43:24","slug":"audio-popping-when-using-wireplumber-on-linux","status":"publish","type":"post","link":"https:\/\/www.coralbark.net\/blog\/life\/2022\/01\/audio-popping-when-using-wireplumber-on-linux\/","title":{"rendered":"Audio &#8220;popping&#8221; when using Wireplumber on Linux"},"content":{"rendered":"\n<p>As applications started and stopped playing sound my speakers were making an annoying &#8220;pop&#8221; after I updated my Lenovo P50 laptop to Fedora 35. This would happen scrolling through a twitter feed with embedded videos (even though the sound is disabled by default until you click, the browser must open the audio ready causing a pop).<\/p>\n\n\n\n<p>Based on combining the advice in the following web pages:<br><\/p>\n\n\n\n<ul><li><a href=\"https:\/\/gitlab.freedesktop.org\/pipewire\/pipewire\/-\/issues\/1776\">https:\/\/gitlab.freedesktop.org\/pipewire\/pipewire\/-\/issues\/1776<\/a><\/li><li><a href=\"https:\/\/gitlab.freedesktop.org\/pipewire\/pipewire\/-\/issues\/469\">https:\/\/gitlab.freedesktop.org\/pipewire\/pipewire\/-\/issues\/469<\/a><\/li><\/ul>\n\n\n\n<p>I made a copy of the config file (as per the second link):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">mkdir -p ~\/.config\/wireplumber\/main.lua.d\n\ncp \/usr\/share\/wireplumber\/main.lua.d\/50-alsa-config.lua ~\/.config\/wireplumber\/main.lua.d\/<\/code><\/pre>\n\n\n\n<p>Then I edited  <code>~\/.config\/wireplumber\/main.lua.d\/50-alsa-config.lua<\/code> to add :<br><\/p>\n\n\n\n<p><code>[\"session.suspend-timeout-seconds\"] = 0,<\/code><\/p>\n\n\n\n<p>Into the final apply_properties stanza in the file. It seems to work but I don&#8217;t know much about alsa so there may be a better workaround &#8211; if you know of one, let me know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As applications started and stopped playing sound my speakers were making an annoying &#8220;pop&#8221; after I updated my Lenovo P50 laptop to Fedora 35. This would happen scrolling through a twitter feed with embedded videos (even though the sound is disabled by default until you click, the browser must open the audio ready causing a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.coralbark.net\/blog\/wp-json\/wp\/v2\/posts\/286"}],"collection":[{"href":"https:\/\/www.coralbark.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coralbark.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coralbark.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coralbark.net\/blog\/wp-json\/wp\/v2\/comments?post=286"}],"version-history":[{"count":3,"href":"https:\/\/www.coralbark.net\/blog\/wp-json\/wp\/v2\/posts\/286\/revisions"}],"predecessor-version":[{"id":292,"href":"https:\/\/www.coralbark.net\/blog\/wp-json\/wp\/v2\/posts\/286\/revisions\/292"}],"wp:attachment":[{"href":"https:\/\/www.coralbark.net\/blog\/wp-json\/wp\/v2\/media?parent=286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coralbark.net\/blog\/wp-json\/wp\/v2\/categories?post=286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coralbark.net\/blog\/wp-json\/wp\/v2\/tags?post=286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}