Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package noisetorch for openSUSE:Factory checked in at 2021-10-11 15:31:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/noisetorch (Old) and /work/SRC/openSUSE:Factory/.noisetorch.new.2443 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "noisetorch" Mon Oct 11 15:31:23 2021 rev:7 rq:924292 version:0.11.4 Changes: -------- --- /work/SRC/openSUSE:Factory/noisetorch/noisetorch.changes 2021-08-10 10:27:39.521799168 +0200 +++ /work/SRC/openSUSE:Factory/.noisetorch.new.2443/noisetorch.changes 2021-10-11 15:32:18.082910776 +0200 @@ -1,0 +2,15 @@ +Fri Oct 08 20:46:34 UTC 2021 - Dirk M??ller <dmuel...@suse.com> + +- Update to version 0.11.4: + * Pulseaudio: Don't crash on receiving longer-than-expected string message + * Fix desktop icon + * Add PipeWire support to README + * UI: Add confirm screen for unload/reload when device in use + * Handle non-semver versions in audio client gracefully-ish + * pulseaudio: update module with fixed cookie lookup + * CLI: Cleanup temp files on exit + * c:ladspa: Fix linking with libm + * Revert "Temporarily force clang if available" +- drop noisetorch-fix-ladspa-linking.patch (obsolete) + +------------------------------------------------------------------- Old: ---- NoiseTorch-0.11.2.tar.gz noisetorch-fix-ladspa-linking.patch New: ---- NoiseTorch-0.11.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ noisetorch.spec ++++++ --- /var/tmp/diff_new_pack.PJzP6k/_old 2021-10-11 15:32:18.718911796 +0200 +++ /var/tmp/diff_new_pack.PJzP6k/_new 2021-10-11 15:32:18.718911796 +0200 @@ -17,7 +17,7 @@ Name: noisetorch -Version: 0.11.2 +Version: 0.11.4 Release: 0 Summary: Real-time microphone noise suppression on Linux License: GPL-3.0-or-later @@ -26,9 +26,6 @@ Source0: NoiseTorch-%{version}.tar.gz # osc service disabledrun Source1: vendor.tar.gz - -Patch0: noisetorch-fix-ladspa-linking.patch - BuildRequires: c++_compiler BuildRequires: cmake BuildRequires: git-core ++++++ NoiseTorch-0.11.2.tar.gz -> NoiseTorch-0.11.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/FETCH_HEAD new/NoiseTorch-0.11.4/.git/FETCH_HEAD --- old/NoiseTorch-0.11.2/.git/FETCH_HEAD 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/.git/FETCH_HEAD 2021-09-28 16:27:57.000000000 +0200 @@ -1 +1 @@ -c2bfe0202f5c58e35700925f6bbf5bafe613d509 not-for-merge branch 'master' of https://github.com/lawl/NoiseTorch +4aca9e658874f8c72fff3a03039de40e294d1822 not-for-merge branch 'master' of https://github.com/lawl/NoiseTorch diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/HEAD new/NoiseTorch-0.11.4/.git/HEAD --- old/NoiseTorch-0.11.2/.git/HEAD 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/.git/HEAD 2021-09-28 16:27:57.000000000 +0200 @@ -1 +1 @@ -c2bfe0202f5c58e35700925f6bbf5bafe613d509 +4aca9e658874f8c72fff3a03039de40e294d1822 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/ORIG_HEAD new/NoiseTorch-0.11.4/.git/ORIG_HEAD --- old/NoiseTorch-0.11.2/.git/ORIG_HEAD 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/.git/ORIG_HEAD 2021-09-28 16:27:57.000000000 +0200 @@ -1 +1 @@ -c2bfe0202f5c58e35700925f6bbf5bafe613d509 +4aca9e658874f8c72fff3a03039de40e294d1822 Binary files old/NoiseTorch-0.11.2/.git/index and new/NoiseTorch-0.11.4/.git/index differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/logs/HEAD new/NoiseTorch-0.11.4/.git/logs/HEAD --- old/NoiseTorch-0.11.2/.git/logs/HEAD 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/.git/logs/HEAD 2021-09-28 16:27:57.000000000 +0200 @@ -1,2 +1,3 @@ -0000000000000000000000000000000000000000 c2bfe0202f5c58e35700925f6bbf5bafe613d509 Andreas Schneider <a...@cryptomilk.org> 1621936428 +0200 clone: from https://github.com/lawl/NoiseTorch.git -c2bfe0202f5c58e35700925f6bbf5bafe613d509 c2bfe0202f5c58e35700925f6bbf5bafe613d509 Andreas Schneider <a...@cryptomilk.org> 1621936428 +0200 checkout: moving from master to 0.11.2 +0000000000000000000000000000000000000000 245455d508f21e888b18e168b0a930a32ab5a24d Dirk Mueller <d...@dmllr.de> 1617031270 +0200 clone: from https://github.com/lawl/NoiseTorch.git +245455d508f21e888b18e168b0a930a32ab5a24d ee91fea993138624dce47b4c0b626a99db25f656 Dirk Mueller <d...@dmllr.de> 1617031271 +0200 checkout: moving from master to 0.10.1 +ee91fea993138624dce47b4c0b626a99db25f656 4aca9e658874f8c72fff3a03039de40e294d1822 Dirk Mueller <d...@dmllr.de> 1633725994 +0200 merge 0.11.4: Fast-forward diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/logs/refs/heads/master new/NoiseTorch-0.11.4/.git/logs/refs/heads/master --- old/NoiseTorch-0.11.2/.git/logs/refs/heads/master 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/.git/logs/refs/heads/master 2021-09-28 16:27:57.000000000 +0200 @@ -1 +1 @@ -0000000000000000000000000000000000000000 c2bfe0202f5c58e35700925f6bbf5bafe613d509 Andreas Schneider <a...@cryptomilk.org> 1621936428 +0200 clone: from https://github.com/lawl/NoiseTorch.git +0000000000000000000000000000000000000000 245455d508f21e888b18e168b0a930a32ab5a24d Dirk Mueller <d...@dmllr.de> 1617031270 +0200 clone: from https://github.com/lawl/NoiseTorch.git diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/logs/refs/remotes/origin/HEAD new/NoiseTorch-0.11.4/.git/logs/refs/remotes/origin/HEAD --- old/NoiseTorch-0.11.2/.git/logs/refs/remotes/origin/HEAD 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/.git/logs/refs/remotes/origin/HEAD 2021-09-28 16:27:57.000000000 +0200 @@ -1 +1 @@ -0000000000000000000000000000000000000000 c2bfe0202f5c58e35700925f6bbf5bafe613d509 Andreas Schneider <a...@cryptomilk.org> 1621936428 +0200 clone: from https://github.com/lawl/NoiseTorch.git +0000000000000000000000000000000000000000 245455d508f21e888b18e168b0a930a32ab5a24d Dirk Mueller <d...@dmllr.de> 1617031270 +0200 clone: from https://github.com/lawl/NoiseTorch.git diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/logs/refs/remotes/origin/master new/NoiseTorch-0.11.4/.git/logs/refs/remotes/origin/master --- old/NoiseTorch-0.11.2/.git/logs/refs/remotes/origin/master 1970-01-01 01:00:00.000000000 +0100 +++ new/NoiseTorch-0.11.4/.git/logs/refs/remotes/origin/master 2021-09-28 16:27:57.000000000 +0200 @@ -0,0 +1 @@ +245455d508f21e888b18e168b0a930a32ab5a24d 4aca9e658874f8c72fff3a03039de40e294d1822 Dirk Mueller <d...@dmllr.de> 1633725994 +0200 fetch --tags: fast-forward Binary files old/NoiseTorch-0.11.2/.git/objects/02/5e2d1205d4d449886a34415b4da04ac828c642 and new/NoiseTorch-0.11.4/.git/objects/02/5e2d1205d4d449886a34415b4da04ac828c642 differ Binary files old/NoiseTorch-0.11.2/.git/objects/05/6bc1bfae10378d0840d2d0c2f035da393f87dd and new/NoiseTorch-0.11.4/.git/objects/05/6bc1bfae10378d0840d2d0c2f035da393f87dd differ Binary files old/NoiseTorch-0.11.2/.git/objects/07/7b4763fef6f8c07a04dd36c6deef2c1f3af580 and new/NoiseTorch-0.11.4/.git/objects/07/7b4763fef6f8c07a04dd36c6deef2c1f3af580 differ Binary files old/NoiseTorch-0.11.2/.git/objects/09/aed11a1a377ceb84b59bdd61443466a67fdab9 and new/NoiseTorch-0.11.4/.git/objects/09/aed11a1a377ceb84b59bdd61443466a67fdab9 differ Binary files old/NoiseTorch-0.11.2/.git/objects/0b/9af0748a20028e71e52c4240bcfc4bfeaca407 and new/NoiseTorch-0.11.4/.git/objects/0b/9af0748a20028e71e52c4240bcfc4bfeaca407 differ Binary files old/NoiseTorch-0.11.2/.git/objects/0e/c62c648b7df1885134ed658b69b566666e8f58 and new/NoiseTorch-0.11.4/.git/objects/0e/c62c648b7df1885134ed658b69b566666e8f58 differ Binary files old/NoiseTorch-0.11.2/.git/objects/0e/d7d2f000f1fd9ff8c315a6d9fecb44af5c1e97 and new/NoiseTorch-0.11.4/.git/objects/0e/d7d2f000f1fd9ff8c315a6d9fecb44af5c1e97 differ Binary files old/NoiseTorch-0.11.2/.git/objects/0e/f8229e6fb54c50ec16dd64e24fb32e49b3b207 and new/NoiseTorch-0.11.4/.git/objects/0e/f8229e6fb54c50ec16dd64e24fb32e49b3b207 differ Binary files old/NoiseTorch-0.11.2/.git/objects/12/783e8bf165dd1ee378f40273d72b736b36e5f4 and new/NoiseTorch-0.11.4/.git/objects/12/783e8bf165dd1ee378f40273d72b736b36e5f4 differ Binary files old/NoiseTorch-0.11.2/.git/objects/13/5afde513f20ae5c25f010734235b175dba8e41 and new/NoiseTorch-0.11.4/.git/objects/13/5afde513f20ae5c25f010734235b175dba8e41 differ Binary files old/NoiseTorch-0.11.2/.git/objects/15/b8caf2ad8aef17d17b75cb8ddb1bc75c54a1a3 and new/NoiseTorch-0.11.4/.git/objects/15/b8caf2ad8aef17d17b75cb8ddb1bc75c54a1a3 differ Binary files old/NoiseTorch-0.11.2/.git/objects/18/01e1ec90b45b9dd0cc464757ed4ddaab03876c and new/NoiseTorch-0.11.4/.git/objects/18/01e1ec90b45b9dd0cc464757ed4ddaab03876c differ Binary files old/NoiseTorch-0.11.2/.git/objects/1a/a277446bfe229ad0eb1814934caaaa78fffdde and new/NoiseTorch-0.11.4/.git/objects/1a/a277446bfe229ad0eb1814934caaaa78fffdde differ Binary files old/NoiseTorch-0.11.2/.git/objects/1a/a69413a3db1f9effe9c8e7f6c85dae486725d5 and new/NoiseTorch-0.11.4/.git/objects/1a/a69413a3db1f9effe9c8e7f6c85dae486725d5 differ Binary files old/NoiseTorch-0.11.2/.git/objects/1b/c9b1eed2d4f5533bbfb51648316f490dac2936 and new/NoiseTorch-0.11.4/.git/objects/1b/c9b1eed2d4f5533bbfb51648316f490dac2936 differ Binary files old/NoiseTorch-0.11.2/.git/objects/1d/e4f36726e6d1f45b981de1b5a1a9ec0b0ca589 and new/NoiseTorch-0.11.4/.git/objects/1d/e4f36726e6d1f45b981de1b5a1a9ec0b0ca589 differ Binary files old/NoiseTorch-0.11.2/.git/objects/25/bd45a731d0b45bc773b9f1ab5039cb05e57175 and new/NoiseTorch-0.11.4/.git/objects/25/bd45a731d0b45bc773b9f1ab5039cb05e57175 differ Binary files old/NoiseTorch-0.11.2/.git/objects/28/2a8acd4ebf8c43c7d763f92cba265781aa5014 and new/NoiseTorch-0.11.4/.git/objects/28/2a8acd4ebf8c43c7d763f92cba265781aa5014 differ Binary files old/NoiseTorch-0.11.2/.git/objects/2d/9959eb901deac16cc2c6dbe13a8e029fb33d57 and new/NoiseTorch-0.11.4/.git/objects/2d/9959eb901deac16cc2c6dbe13a8e029fb33d57 differ Binary files old/NoiseTorch-0.11.2/.git/objects/31/a5cbf786bdb021fff31b38e947d638bcc35621 and new/NoiseTorch-0.11.4/.git/objects/31/a5cbf786bdb021fff31b38e947d638bcc35621 differ Binary files old/NoiseTorch-0.11.2/.git/objects/32/7f35f39752068a404c34c6003ab56a6ab50ad2 and new/NoiseTorch-0.11.4/.git/objects/32/7f35f39752068a404c34c6003ab56a6ab50ad2 differ Binary files old/NoiseTorch-0.11.2/.git/objects/35/4ab9dec5764ac550d11ba180496f20f11b1fc8 and new/NoiseTorch-0.11.4/.git/objects/35/4ab9dec5764ac550d11ba180496f20f11b1fc8 differ Binary files old/NoiseTorch-0.11.2/.git/objects/3c/64b26ae614c53ac500aa42c8e1642c72d2a679 and new/NoiseTorch-0.11.4/.git/objects/3c/64b26ae614c53ac500aa42c8e1642c72d2a679 differ Binary files old/NoiseTorch-0.11.2/.git/objects/3d/ca7d7e79c0001ac68d4b17bf53a11bc4ce6b0b and new/NoiseTorch-0.11.4/.git/objects/3d/ca7d7e79c0001ac68d4b17bf53a11bc4ce6b0b differ Binary files old/NoiseTorch-0.11.2/.git/objects/3e/9fa13f6ab68d92a1682e0951c482e7efad7010 and new/NoiseTorch-0.11.4/.git/objects/3e/9fa13f6ab68d92a1682e0951c482e7efad7010 differ Binary files old/NoiseTorch-0.11.2/.git/objects/48/53c5c8d7c34a828f200a60016e1700f79dabd3 and new/NoiseTorch-0.11.4/.git/objects/48/53c5c8d7c34a828f200a60016e1700f79dabd3 differ Binary files old/NoiseTorch-0.11.2/.git/objects/4a/ca9e658874f8c72fff3a03039de40e294d1822 and new/NoiseTorch-0.11.4/.git/objects/4a/ca9e658874f8c72fff3a03039de40e294d1822 differ Binary files old/NoiseTorch-0.11.2/.git/objects/4b/d06c65e6bc12b1f1de99b630ffce8050b74a28 and new/NoiseTorch-0.11.4/.git/objects/4b/d06c65e6bc12b1f1de99b630ffce8050b74a28 differ Binary files old/NoiseTorch-0.11.2/.git/objects/4c/da9b7989fb25fdc814d2f1dba52a08023576d0 and new/NoiseTorch-0.11.4/.git/objects/4c/da9b7989fb25fdc814d2f1dba52a08023576d0 differ Binary files old/NoiseTorch-0.11.2/.git/objects/51/5d751a9c6763ddc0173b6121093a74bab7079a and new/NoiseTorch-0.11.4/.git/objects/51/5d751a9c6763ddc0173b6121093a74bab7079a differ Binary files old/NoiseTorch-0.11.2/.git/objects/51/b52c86b792df79c35ef31dad8ae3543be71c29 and new/NoiseTorch-0.11.4/.git/objects/51/b52c86b792df79c35ef31dad8ae3543be71c29 differ Binary files old/NoiseTorch-0.11.2/.git/objects/56/aefa5cb03c13d15bdbbf6c509e19c330f5d732 and new/NoiseTorch-0.11.4/.git/objects/56/aefa5cb03c13d15bdbbf6c509e19c330f5d732 differ Binary files old/NoiseTorch-0.11.2/.git/objects/57/e2b2ad09a47217e902a078abb588049dd5355c and new/NoiseTorch-0.11.4/.git/objects/57/e2b2ad09a47217e902a078abb588049dd5355c differ Binary files old/NoiseTorch-0.11.2/.git/objects/5d/b4b54ff27e9753089a728d7d81f81e255a6209 and new/NoiseTorch-0.11.4/.git/objects/5d/b4b54ff27e9753089a728d7d81f81e255a6209 differ Binary files old/NoiseTorch-0.11.2/.git/objects/62/903867909b079e9ab008171f2a431402cce16c and new/NoiseTorch-0.11.4/.git/objects/62/903867909b079e9ab008171f2a431402cce16c differ Binary files old/NoiseTorch-0.11.2/.git/objects/66/c3e67e95245c0a95215f0eba83d82204c6e2c1 and new/NoiseTorch-0.11.4/.git/objects/66/c3e67e95245c0a95215f0eba83d82204c6e2c1 differ Binary files old/NoiseTorch-0.11.2/.git/objects/68/1b5a903fcd0e0dc22dc7299aa731df7b27dc0c and new/NoiseTorch-0.11.4/.git/objects/68/1b5a903fcd0e0dc22dc7299aa731df7b27dc0c differ Binary files old/NoiseTorch-0.11.2/.git/objects/69/4753780dc583e6ab2e36ee58449adf43dbbfb1 and new/NoiseTorch-0.11.4/.git/objects/69/4753780dc583e6ab2e36ee58449adf43dbbfb1 differ Binary files old/NoiseTorch-0.11.2/.git/objects/6d/60a8b735e1ea94395ab74c28317c4478348e75 and new/NoiseTorch-0.11.4/.git/objects/6d/60a8b735e1ea94395ab74c28317c4478348e75 differ Binary files old/NoiseTorch-0.11.2/.git/objects/6e/a788a0c0de72a387895c09d84e7a24061677eb and new/NoiseTorch-0.11.4/.git/objects/6e/a788a0c0de72a387895c09d84e7a24061677eb differ Binary files old/NoiseTorch-0.11.2/.git/objects/6f/5abada5d1f2ef6327d12e5cb3494fbfcd71b37 and new/NoiseTorch-0.11.4/.git/objects/6f/5abada5d1f2ef6327d12e5cb3494fbfcd71b37 differ Binary files old/NoiseTorch-0.11.2/.git/objects/71/6678b351422fa714dd8623db05d7b02478c2bf and new/NoiseTorch-0.11.4/.git/objects/71/6678b351422fa714dd8623db05d7b02478c2bf differ Binary files old/NoiseTorch-0.11.2/.git/objects/75/64c2be48eee4229ba14f87285664137ade80d0 and new/NoiseTorch-0.11.4/.git/objects/75/64c2be48eee4229ba14f87285664137ade80d0 differ Binary files old/NoiseTorch-0.11.2/.git/objects/75/d09c66f3c7727502ac0e5df1994747279cdeca and new/NoiseTorch-0.11.4/.git/objects/75/d09c66f3c7727502ac0e5df1994747279cdeca differ Binary files old/NoiseTorch-0.11.2/.git/objects/7a/ed3cf3322b0fbc28fcf4d43882968c6e613ef9 and new/NoiseTorch-0.11.4/.git/objects/7a/ed3cf3322b0fbc28fcf4d43882968c6e613ef9 differ Binary files old/NoiseTorch-0.11.2/.git/objects/7d/b32cc85f9d28c60d0e58c528a0e339c431910d and new/NoiseTorch-0.11.4/.git/objects/7d/b32cc85f9d28c60d0e58c528a0e339c431910d differ Binary files old/NoiseTorch-0.11.2/.git/objects/7e/026ff21f1ad9e1f4c275add51bc18458277a2f and new/NoiseTorch-0.11.4/.git/objects/7e/026ff21f1ad9e1f4c275add51bc18458277a2f differ Binary files old/NoiseTorch-0.11.2/.git/objects/80/9f184e875ce012b7e75c6def2ec56aebd5cf94 and new/NoiseTorch-0.11.4/.git/objects/80/9f184e875ce012b7e75c6def2ec56aebd5cf94 differ Binary files old/NoiseTorch-0.11.2/.git/objects/83/4a370a753609ea540ff8e348b1a12cd4fa5c97 and new/NoiseTorch-0.11.4/.git/objects/83/4a370a753609ea540ff8e348b1a12cd4fa5c97 differ Binary files old/NoiseTorch-0.11.2/.git/objects/85/71d2169760f73a0690ee51ee9706a137890d9b and new/NoiseTorch-0.11.4/.git/objects/85/71d2169760f73a0690ee51ee9706a137890d9b differ Binary files old/NoiseTorch-0.11.2/.git/objects/88/7927e7561f94d2476419976042dd80f798d135 and new/NoiseTorch-0.11.4/.git/objects/88/7927e7561f94d2476419976042dd80f798d135 differ Binary files old/NoiseTorch-0.11.2/.git/objects/8b/11b649ee9efb387dea50f08bb70341330a6a7f and new/NoiseTorch-0.11.4/.git/objects/8b/11b649ee9efb387dea50f08bb70341330a6a7f differ Binary files old/NoiseTorch-0.11.2/.git/objects/8e/332e00b5078885af3039bf14e02259acd92051 and new/NoiseTorch-0.11.4/.git/objects/8e/332e00b5078885af3039bf14e02259acd92051 differ Binary files old/NoiseTorch-0.11.2/.git/objects/8e/6b87ab8b72992f24da0e89fed6fb2c1f972b02 and new/NoiseTorch-0.11.4/.git/objects/8e/6b87ab8b72992f24da0e89fed6fb2c1f972b02 differ Binary files old/NoiseTorch-0.11.2/.git/objects/8f/f38c95aba73158ddd266cd1f7d700e19b304f4 and new/NoiseTorch-0.11.4/.git/objects/8f/f38c95aba73158ddd266cd1f7d700e19b304f4 differ Binary files old/NoiseTorch-0.11.2/.git/objects/95/e82fcbfd386c81040006d0c088d0df13d4faf9 and new/NoiseTorch-0.11.4/.git/objects/95/e82fcbfd386c81040006d0c088d0df13d4faf9 differ Binary files old/NoiseTorch-0.11.2/.git/objects/9b/651eb701f2c2423166022d8fe9b9df067fc387 and new/NoiseTorch-0.11.4/.git/objects/9b/651eb701f2c2423166022d8fe9b9df067fc387 differ Binary files old/NoiseTorch-0.11.2/.git/objects/9f/e0c4520d6381493a62ac489870493b6bf96777 and new/NoiseTorch-0.11.4/.git/objects/9f/e0c4520d6381493a62ac489870493b6bf96777 differ Binary files old/NoiseTorch-0.11.2/.git/objects/a0/620ae92c5c4790b04e404c54acaa98e89df326 and new/NoiseTorch-0.11.4/.git/objects/a0/620ae92c5c4790b04e404c54acaa98e89df326 differ Binary files old/NoiseTorch-0.11.2/.git/objects/a2/a45bc88bd549eb35a652941f0a26c5c4da09f0 and new/NoiseTorch-0.11.4/.git/objects/a2/a45bc88bd549eb35a652941f0a26c5c4da09f0 differ Binary files old/NoiseTorch-0.11.2/.git/objects/a3/2f73509fc001a62abd1e8d888ef0e3c9ec2f09 and new/NoiseTorch-0.11.4/.git/objects/a3/2f73509fc001a62abd1e8d888ef0e3c9ec2f09 differ Binary files old/NoiseTorch-0.11.2/.git/objects/a4/fdc728773bfdfec44ac98651845370f1d22fb6 and new/NoiseTorch-0.11.4/.git/objects/a4/fdc728773bfdfec44ac98651845370f1d22fb6 differ Binary files old/NoiseTorch-0.11.2/.git/objects/a5/7cc201100aa58ca06704afb10d416cb87750e3 and new/NoiseTorch-0.11.4/.git/objects/a5/7cc201100aa58ca06704afb10d416cb87750e3 differ Binary files old/NoiseTorch-0.11.2/.git/objects/a6/2097456f595c7d5aa81ba839d80eb426239d25 and new/NoiseTorch-0.11.4/.git/objects/a6/2097456f595c7d5aa81ba839d80eb426239d25 differ Binary files old/NoiseTorch-0.11.2/.git/objects/a7/9aea655513ba5dc70ee96634aa57e7bbf4cc53 and new/NoiseTorch-0.11.4/.git/objects/a7/9aea655513ba5dc70ee96634aa57e7bbf4cc53 differ Binary files old/NoiseTorch-0.11.2/.git/objects/a7/e70d5439e58f478fb94e0b21a3edee8ae93e6e and new/NoiseTorch-0.11.4/.git/objects/a7/e70d5439e58f478fb94e0b21a3edee8ae93e6e differ Binary files old/NoiseTorch-0.11.2/.git/objects/ae/6aca4b050d4b90e011928c8cc876dd71437c92 and new/NoiseTorch-0.11.4/.git/objects/ae/6aca4b050d4b90e011928c8cc876dd71437c92 differ Binary files old/NoiseTorch-0.11.2/.git/objects/af/f95e9fb25aa454da82a10b47a7c26b9db3e190 and new/NoiseTorch-0.11.4/.git/objects/af/f95e9fb25aa454da82a10b47a7c26b9db3e190 differ Binary files old/NoiseTorch-0.11.2/.git/objects/b1/5b33039124640e9be5055a0b0b494990fb4c6d and new/NoiseTorch-0.11.4/.git/objects/b1/5b33039124640e9be5055a0b0b494990fb4c6d differ Binary files old/NoiseTorch-0.11.2/.git/objects/b9/a4f4493ccd0d8b733e1d04ef239475821e7f22 and new/NoiseTorch-0.11.4/.git/objects/b9/a4f4493ccd0d8b733e1d04ef239475821e7f22 differ Binary files old/NoiseTorch-0.11.2/.git/objects/ba/47a3b3e4ce292a941c49eec896a2992ede6d2d and new/NoiseTorch-0.11.4/.git/objects/ba/47a3b3e4ce292a941c49eec896a2992ede6d2d differ Binary files old/NoiseTorch-0.11.2/.git/objects/ba/eb8c869dd6fb30259c1b4c3064007e32d3881d and new/NoiseTorch-0.11.4/.git/objects/ba/eb8c869dd6fb30259c1b4c3064007e32d3881d differ Binary files old/NoiseTorch-0.11.2/.git/objects/bb/ab17f8ccad56f128c5632e7c451d465764b03b and new/NoiseTorch-0.11.4/.git/objects/bb/ab17f8ccad56f128c5632e7c451d465764b03b differ Binary files old/NoiseTorch-0.11.2/.git/objects/bc/3886d432d39f27d924d489af000be91f781edb and new/NoiseTorch-0.11.4/.git/objects/bc/3886d432d39f27d924d489af000be91f781edb differ Binary files old/NoiseTorch-0.11.2/.git/objects/be/a6f46712f5a402fab9d38dce4f26e20ec0ffad and new/NoiseTorch-0.11.4/.git/objects/be/a6f46712f5a402fab9d38dce4f26e20ec0ffad differ Binary files old/NoiseTorch-0.11.2/.git/objects/c0/72bea1aba147a5e89f969ca09441a2b9a3ff74 and new/NoiseTorch-0.11.4/.git/objects/c0/72bea1aba147a5e89f969ca09441a2b9a3ff74 differ Binary files old/NoiseTorch-0.11.2/.git/objects/c2/bfe0202f5c58e35700925f6bbf5bafe613d509 and new/NoiseTorch-0.11.4/.git/objects/c2/bfe0202f5c58e35700925f6bbf5bafe613d509 differ Binary files old/NoiseTorch-0.11.2/.git/objects/c6/8786eac68e695b87eebf35448e94a9fe003ba3 and new/NoiseTorch-0.11.4/.git/objects/c6/8786eac68e695b87eebf35448e94a9fe003ba3 differ Binary files old/NoiseTorch-0.11.2/.git/objects/ca/67f48a77ad25acd9c81aa6c830276da858ff17 and new/NoiseTorch-0.11.4/.git/objects/ca/67f48a77ad25acd9c81aa6c830276da858ff17 differ Binary files old/NoiseTorch-0.11.2/.git/objects/ca/d601a4a59bbc56e295ae4e7a65a1f338c11b5f and new/NoiseTorch-0.11.4/.git/objects/ca/d601a4a59bbc56e295ae4e7a65a1f338c11b5f differ Binary files old/NoiseTorch-0.11.2/.git/objects/cb/2ee053b622750356c4f8b717acb6b50fbdb937 and new/NoiseTorch-0.11.4/.git/objects/cb/2ee053b622750356c4f8b717acb6b50fbdb937 differ Binary files old/NoiseTorch-0.11.2/.git/objects/cd/707dd669243df0c3b7d7b8fbf243c641570267 and new/NoiseTorch-0.11.4/.git/objects/cd/707dd669243df0c3b7d7b8fbf243c641570267 differ Binary files old/NoiseTorch-0.11.2/.git/objects/d0/4fdbf65a9d4fd39c49c85e1b112f82f285c32b and new/NoiseTorch-0.11.4/.git/objects/d0/4fdbf65a9d4fd39c49c85e1b112f82f285c32b differ Binary files old/NoiseTorch-0.11.2/.git/objects/d1/aa44c3c7a2dd7fe5c65b7e07ac8526c35756e5 and new/NoiseTorch-0.11.4/.git/objects/d1/aa44c3c7a2dd7fe5c65b7e07ac8526c35756e5 differ Binary files old/NoiseTorch-0.11.2/.git/objects/d8/b09eeea5861395d307baaab3ad3b1c18d44e0e and new/NoiseTorch-0.11.4/.git/objects/d8/b09eeea5861395d307baaab3ad3b1c18d44e0e differ Binary files old/NoiseTorch-0.11.2/.git/objects/e6/45ad65bc136519c91b2ca424aa51027be9a8f3 and new/NoiseTorch-0.11.4/.git/objects/e6/45ad65bc136519c91b2ca424aa51027be9a8f3 differ Binary files old/NoiseTorch-0.11.2/.git/objects/eb/0795f645f400212981c9f12fce2e72221a2690 and new/NoiseTorch-0.11.4/.git/objects/eb/0795f645f400212981c9f12fce2e72221a2690 differ Binary files old/NoiseTorch-0.11.2/.git/objects/ec/07e7e2d886abc89f1aaa9286b1f673de73fe0d and new/NoiseTorch-0.11.4/.git/objects/ec/07e7e2d886abc89f1aaa9286b1f673de73fe0d differ Binary files old/NoiseTorch-0.11.2/.git/objects/ee/7b64dea2ad839bad20e9e4bd1113c48b4ee315 and new/NoiseTorch-0.11.4/.git/objects/ee/7b64dea2ad839bad20e9e4bd1113c48b4ee315 differ Binary files old/NoiseTorch-0.11.2/.git/objects/f0/350383ffc9a711828db13d5bacdff50f28036a and new/NoiseTorch-0.11.4/.git/objects/f0/350383ffc9a711828db13d5bacdff50f28036a differ Binary files old/NoiseTorch-0.11.2/.git/objects/f1/d6b7cb9310450e9520541d958c5fe03d8dd0e8 and new/NoiseTorch-0.11.4/.git/objects/f1/d6b7cb9310450e9520541d958c5fe03d8dd0e8 differ Binary files old/NoiseTorch-0.11.2/.git/objects/f8/f24ea493cca37e91d6e75d9ea838d55ecc5288 and new/NoiseTorch-0.11.4/.git/objects/f8/f24ea493cca37e91d6e75d9ea838d55ecc5288 differ Binary files old/NoiseTorch-0.11.2/.git/objects/fa/391a3672e5a620426808cc71f479d31096dd62 and new/NoiseTorch-0.11.4/.git/objects/fa/391a3672e5a620426808cc71f479d31096dd62 differ Binary files old/NoiseTorch-0.11.2/.git/objects/fa/d3e1d4f4e76a74c6e32cf11f892b6ba3022c69 and new/NoiseTorch-0.11.4/.git/objects/fa/d3e1d4f4e76a74c6e32cf11f892b6ba3022c69 differ Binary files old/NoiseTorch-0.11.2/.git/objects/fb/46112181cab3660aaa715f73b43f450ac0b273 and new/NoiseTorch-0.11.4/.git/objects/fb/46112181cab3660aaa715f73b43f450ac0b273 differ Binary files old/NoiseTorch-0.11.2/.git/objects/fe/b09e5599e26c913f7ff64d779263f0de2ad428 and new/NoiseTorch-0.11.4/.git/objects/fe/b09e5599e26c913f7ff64d779263f0de2ad428 differ Binary files old/NoiseTorch-0.11.2/.git/objects/pack/pack-8323cfc9210238f94f97db78e3895c11791c1d98.idx and new/NoiseTorch-0.11.4/.git/objects/pack/pack-8323cfc9210238f94f97db78e3895c11791c1d98.idx differ Binary files old/NoiseTorch-0.11.2/.git/objects/pack/pack-8323cfc9210238f94f97db78e3895c11791c1d98.pack and new/NoiseTorch-0.11.4/.git/objects/pack/pack-8323cfc9210238f94f97db78e3895c11791c1d98.pack differ Binary files old/NoiseTorch-0.11.2/.git/objects/pack/pack-ae69aa9ad81e191d685e7f3c9fca47e849f6ba72.idx and new/NoiseTorch-0.11.4/.git/objects/pack/pack-ae69aa9ad81e191d685e7f3c9fca47e849f6ba72.idx differ Binary files old/NoiseTorch-0.11.2/.git/objects/pack/pack-ae69aa9ad81e191d685e7f3c9fca47e849f6ba72.pack and new/NoiseTorch-0.11.4/.git/objects/pack/pack-ae69aa9ad81e191d685e7f3c9fca47e849f6ba72.pack differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/packed-refs new/NoiseTorch-0.11.4/.git/packed-refs --- old/NoiseTorch-0.11.2/.git/packed-refs 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/.git/packed-refs 2021-09-28 16:27:57.000000000 +0200 @@ -1,11 +1,8 @@ # pack-refs with: peeled fully-peeled sorted -c2bfe0202f5c58e35700925f6bbf5bafe613d509 refs/remotes/origin/master +245455d508f21e888b18e168b0a930a32ab5a24d refs/remotes/origin/master 205307aa261d03e47e0c972878302e26da278147 refs/tags/0.1-alpha 54f9e012e3ca3913ab1f1c911db6750c7e80f8a0 refs/tags/0.10.0 ee91fea993138624dce47b4c0b626a99db25f656 refs/tags/0.10.1 -fad3e1d4f4e76a74c6e32cf11f892b6ba3022c69 refs/tags/0.11.0 -a57cc201100aa58ca06704afb10d416cb87750e3 refs/tags/0.11.1 -c2bfe0202f5c58e35700925f6bbf5bafe613d509 refs/tags/0.11.2 35c4aa79a293496e52608d15a6010b55dba9bbb2 refs/tags/0.2-alpha 7e8a29115111ffda3e458f701665d9018869d23f refs/tags/0.3-beta 8161b29bd137d4719e846be6b5fb21f5b5b5b4b2 refs/tags/0.3.1-beta diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/refs/heads/master new/NoiseTorch-0.11.4/.git/refs/heads/master --- old/NoiseTorch-0.11.2/.git/refs/heads/master 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/.git/refs/heads/master 2021-09-28 16:27:57.000000000 +0200 @@ -1 +1 @@ -c2bfe0202f5c58e35700925f6bbf5bafe613d509 +245455d508f21e888b18e168b0a930a32ab5a24d diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/refs/remotes/origin/master new/NoiseTorch-0.11.4/.git/refs/remotes/origin/master --- old/NoiseTorch-0.11.2/.git/refs/remotes/origin/master 1970-01-01 01:00:00.000000000 +0100 +++ new/NoiseTorch-0.11.4/.git/refs/remotes/origin/master 2021-09-28 16:27:57.000000000 +0200 @@ -0,0 +1 @@ +4aca9e658874f8c72fff3a03039de40e294d1822 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/refs/tags/0.11.0 new/NoiseTorch-0.11.4/.git/refs/tags/0.11.0 --- old/NoiseTorch-0.11.2/.git/refs/tags/0.11.0 1970-01-01 01:00:00.000000000 +0100 +++ new/NoiseTorch-0.11.4/.git/refs/tags/0.11.0 2021-09-28 16:27:57.000000000 +0200 @@ -0,0 +1 @@ +fad3e1d4f4e76a74c6e32cf11f892b6ba3022c69 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/refs/tags/0.11.1 new/NoiseTorch-0.11.4/.git/refs/tags/0.11.1 --- old/NoiseTorch-0.11.2/.git/refs/tags/0.11.1 1970-01-01 01:00:00.000000000 +0100 +++ new/NoiseTorch-0.11.4/.git/refs/tags/0.11.1 2021-09-28 16:27:57.000000000 +0200 @@ -0,0 +1 @@ +a57cc201100aa58ca06704afb10d416cb87750e3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/refs/tags/0.11.2 new/NoiseTorch-0.11.4/.git/refs/tags/0.11.2 --- old/NoiseTorch-0.11.2/.git/refs/tags/0.11.2 1970-01-01 01:00:00.000000000 +0100 +++ new/NoiseTorch-0.11.4/.git/refs/tags/0.11.2 2021-09-28 16:27:57.000000000 +0200 @@ -0,0 +1 @@ +c2bfe0202f5c58e35700925f6bbf5bafe613d509 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/refs/tags/0.11.3 new/NoiseTorch-0.11.4/.git/refs/tags/0.11.3 --- old/NoiseTorch-0.11.2/.git/refs/tags/0.11.3 1970-01-01 01:00:00.000000000 +0100 +++ new/NoiseTorch-0.11.4/.git/refs/tags/0.11.3 2021-09-28 16:27:57.000000000 +0200 @@ -0,0 +1 @@ +a2a45bc88bd549eb35a652941f0a26c5c4da09f0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/.git/refs/tags/0.11.4 new/NoiseTorch-0.11.4/.git/refs/tags/0.11.4 --- old/NoiseTorch-0.11.2/.git/refs/tags/0.11.4 1970-01-01 01:00:00.000000000 +0100 +++ new/NoiseTorch-0.11.4/.git/refs/tags/0.11.4 2021-09-28 16:27:57.000000000 +0200 @@ -0,0 +1 @@ +4aca9e658874f8c72fff3a03039de40e294d1822 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/Makefile new/NoiseTorch-0.11.4/Makefile --- old/NoiseTorch-0.11.2/Makefile 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/Makefile 2021-09-28 16:27:57.000000000 +0200 @@ -2,9 +2,6 @@ UPDATE_PUBKEY=3mL+rBi4yBZ1wGimQ/oSQCjxELzgTh+673H4JdzQBOk= VERSION := $(shell git describe --tags) - -CLANG := $(shell which clang) - dev: rnnoise mkdir -p bin/ go generate @@ -30,14 +27,6 @@ go run scripts/signer.go -s git describe --tags > bin/version.txt rnnoise: - # For some reason gcc10 refuses to link libm - # gcc11 seems to work. Temporarily force clang - # if available until i can fix this properly -ifdef CLANG - cd c/ladspa; \ - CC=clang make -else cd c/ladspa; \ make -endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/README.md new/NoiseTorch-0.11.4/README.md --- old/NoiseTorch-0.11.2/README.md 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/README.md 2021-09-28 16:27:57.000000000 +0200 @@ -5,7 +5,7 @@ [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![Last Release](https://img.shields.io/github/v/release/lawl/NoiseTorch?label=latest&style=flat-square)](https://github.com/lawl/NoiseTorch/releases) -NoiseTorch is an easy to use open source application for Linux with PulseAudio. It creates a virtual microphone that suppresses noise, in any application. Use whichever conferencing or VOIP application you like and simply select the NoiseTorch Virtual Microphone as input to torch the sound of your mechanical keyboard, computer fans, trains and the likes. +NoiseTorch is an easy to use open source application for Linux with PulseAudio or PipeWire. It creates a virtual microphone that suppresses noise, in any application. Use whichever conferencing or VOIP application you like and simply select the NoiseTorch Virtual Microphone as input to torch the sound of your mechanical keyboard, computer fans, trains and the likes. Don't forget to ~~like, comment and subscribe~~ leave a star ??? if this sounds useful to you! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/assets/noisetorch.desktop new/NoiseTorch-0.11.4/assets/noisetorch.desktop --- old/NoiseTorch-0.11.2/assets/noisetorch.desktop 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/assets/noisetorch.desktop 2021-09-28 16:27:57.000000000 +0200 @@ -2,7 +2,7 @@ Name=NoiseTorch Comment=Create a virtual microphone that suppresses noise, in any application. Exec=noisetorch -Icon=noisetorch.png +Icon=noisetorch Terminal=false Type=Application Categories=Audio;AudioVideo;Utility; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/c/ladspa/Makefile new/NoiseTorch-0.11.4/c/ladspa/Makefile --- old/NoiseTorch-0.11.2/c/ladspa/Makefile 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/c/ladspa/Makefile 2021-09-28 16:27:57.000000000 +0200 @@ -1,3 +1,3 @@ default: - $(CC) -Wall -O2 -c -fPIC ../ringbuf.c ../rnnoise/*.c module.c - $(CC) -shared -lm -Wl,--version-script=export.txt -o rnnoise_ladspa.so *.o + $(CC) -Wall -Werror -O2 -c -fPIC ../ringbuf.c ../rnnoise/*.c module.c + $(CC) -o rnnoise_ladspa.so *.o -shared -Wl,--version-script=export.txt -lm diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/cli.go new/NoiseTorch-0.11.4/cli.go --- old/NoiseTorch-0.11.2/cli.go 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/cli.go 2021-09-28 16:27:57.000000000 +0200 @@ -39,15 +39,15 @@ if opt.setcap { err := makeBinarySetcapped() if err != nil { - os.Exit(1) + cleanupExit(librnnoise, 1) } - os.Exit(0) + cleanupExit(librnnoise, 0) } paClient, err := pulseaudio.NewClient() if err != nil { fmt.Fprintf(os.Stderr, "Couldn't create pulseaudio client: %v\n", err) - os.Exit(1) + cleanupExit(librnnoise, 1) } defer paClient.Close() @@ -77,7 +77,7 @@ fmt.Printf("\tDevice Name: %s\n\tDevice ID: %s\n\n", sinks[i].Name, sinks[i].ID) } - os.Exit(0) + cleanupExit(librnnoise, 0) } if opt.threshold > 0 { @@ -93,9 +93,9 @@ err := unloadSupressor(&ctx) if err != nil { fmt.Fprintf(os.Stderr, "Error unloading PulseAudio Module: %+v\n", err) - os.Exit(1) + cleanupExit(librnnoise, 1) } - os.Exit(0) + cleanupExit(librnnoise, 0) } if opt.loadInput { @@ -105,7 +105,7 @@ defaultSource, err := getDefaultSourceID(paClient) if err != nil { fmt.Fprintf(os.Stderr, "No source specified to load and failed to load default source: %+v\n", err) - os.Exit(1) + cleanupExit(librnnoise, 1) } opt.sinkName = defaultSource } @@ -115,13 +115,13 @@ err := loadSupressor(&ctx, &sources[i], &device{}) if err != nil { fmt.Fprintf(os.Stderr, "Error loading PulseAudio Module: %+v\n", err) - os.Exit(1) + cleanupExit(librnnoise, 1) } - os.Exit(0) + cleanupExit(librnnoise, 0) } } fmt.Fprintf(os.Stderr, "PulseAudio source not found: %s\n", opt.sinkName) - os.Exit(1) + cleanupExit(librnnoise, 1) } if opt.loadOutput { @@ -131,7 +131,7 @@ defaultSink, err := getDefaultSinkID(paClient) if err != nil { fmt.Fprintf(os.Stderr, "No sink specified to load and failed to load default sink: %+v\n", err) - os.Exit(1) + cleanupExit(librnnoise, 1) } opt.sinkName = defaultSink } @@ -141,13 +141,18 @@ err := loadSupressor(&ctx, &device{}, &sinks[i]) if err != nil { fmt.Fprintf(os.Stderr, "Error loading PulseAudio Module: %+v\n", err) - os.Exit(1) + cleanupExit(librnnoise, 1) } - os.Exit(0) + cleanupExit(librnnoise, 0) } } fmt.Fprintf(os.Stderr, "PulseAudio sink not found: %s\n", opt.sinkName) - os.Exit(1) + cleanupExit(librnnoise, 1) } } + +func cleanupExit(librnnoise string, exitCode int) { + removeLib(librnnoise) + os.Exit(exitCode) +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/go.mod new/NoiseTorch-0.11.4/go.mod --- old/NoiseTorch-0.11.2/go.mod 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/go.mod 2021-09-28 16:27:57.000000000 +0200 @@ -7,7 +7,7 @@ github.com/BurntSushi/toml v0.3.1 github.com/BurntSushi/xgbutil v0.0.0-20190907113008-ad855c713046 github.com/aarzilli/nucular v0.0.0-20200615134801-81910c722bba - github.com/lawl/pulseaudio v0.0.0-20200802093727-ab0735955fd0 + github.com/lawl/pulseaudio v0.0.0-20210928141934-ed754c0c6618 github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899 ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/go.sum new/NoiseTorch-0.11.4/go.sum --- old/NoiseTorch-0.11.2/go.sum 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/go.sum 2021-09-28 16:27:57.000000000 +0200 @@ -21,6 +21,10 @@ github.com/hashicorp/golang-lru v0.0.0-20160813221303-0a025b7e63ad/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/lawl/pulseaudio v0.0.0-20200802093727-ab0735955fd0 h1:JrvOwrr1teFiqsp0EQxgEPJsm0pet+YLTL+HdYmnMx0= github.com/lawl/pulseaudio v0.0.0-20200802093727-ab0735955fd0/go.mod h1:9h36x4KH7r2V8DOCKoPMt87IXZ++X90y8D5nnuwq290= +github.com/lawl/pulseaudio v0.0.0-20210604102109-cb2596d6a8ef h1:mpCJg3O6C+B8mh5xoO147NG3Z70GBcFNgqgz2DH/rLQ= +github.com/lawl/pulseaudio v0.0.0-20210604102109-cb2596d6a8ef/go.mod h1:9h36x4KH7r2V8DOCKoPMt87IXZ++X90y8D5nnuwq290= +github.com/lawl/pulseaudio v0.0.0-20210928141934-ed754c0c6618 h1:lktbhQBHluc1oWEDow4DEv13qkWJ8zm/dTUSKer2iKk= +github.com/lawl/pulseaudio v0.0.0-20210928141934-ed754c0c6618/go.mod h1:9h36x4KH7r2V8DOCKoPMt87IXZ++X90y8D5nnuwq290= github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 h1:kdXcSzyDtseVEc4yCz2qF8ZrQvIDBJLl4S1c3GCXmoI= github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/main.go new/NoiseTorch-0.11.4/main.go --- old/NoiseTorch-0.11.2/main.go 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/main.go 2021-09-28 16:27:57.000000000 +0200 @@ -247,19 +247,20 @@ res := versionRegex.FindStringSubmatch(versionString) if len(res) != 4 { - return audioserverinfo{}, fmt.Errorf("couldn't parse server version, regexp didn't match.") + log.Printf("couldn't parse server version, regexp didn't match version: %s\n", versionString) + return audioserverinfo{servertype: servertype}, nil } major, err = strconv.Atoi(res[1]) if err != nil { - return audioserverinfo{}, err + return audioserverinfo{servertype: servertype}, err } minor, err = strconv.Atoi(res[2]) if err != nil { - return audioserverinfo{}, err + return audioserverinfo{servertype: servertype}, err } patch, err = strconv.Atoi(res[3]) if err != nil { - return audioserverinfo{}, err + return audioserverinfo{servertype: servertype}, err } if isPipewire && major <= 0 && minor <= 3 && patch < 28 { log.Printf("pipewire version %d.%d.%d too old.\n", major, minor, patch) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/module.go new/NoiseTorch-0.11.4/module.go --- old/NoiseTorch-0.11.2/module.go 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/module.go 2021-09-28 16:27:57.000000000 +0200 @@ -24,8 +24,7 @@ } for { - ctx.noiseSupressorState = supressorState(ctx) - + ctx.noiseSupressorState, ctx.virtualDeviceInUse = supressorState(ctx) if !c.Connected() { break } @@ -34,16 +33,18 @@ } } -func supressorState(ctx *ntcontext) int { +func supressorState(ctx *ntcontext) (int, bool) { //perform some checks to see if it looks like the noise supressor is loaded c := ctx.paClient var inpLoaded, outLoaded, inputInc, outputInc bool + var virtualDeviceInUse bool = false if ctx.config.FilterInput { if ctx.serverInfo.servertype == servertype_pipewire { - _, ladspasource, err := findModule(c, "module-ladspa-source", "source_name='NoiseTorch Microphone'") + module, ladspasource, err := findModule(c, "module-ladspa-source", "source_name='NoiseTorch Microphone'") if err != nil { log.Printf("Couldn't fetch module list to check for module-ladspa-source: %v\n", err) } + virtualDeviceInUse = virtualDeviceInUse || (module.NUsed != 0) inpLoaded = ladspasource inputInc = false } else { @@ -59,11 +60,13 @@ if err != nil { log.Printf("Couldn't fetch module list to check for module-loopback: %v\n", err) } - _, remap, err := findModule(c, "module-remap-source", "master=nui_mic_denoised_out.monitor source_name=nui_mic_remap") + module, remap, err := findModule(c, "module-remap-source", "master=nui_mic_denoised_out.monitor source_name=nui_mic_remap") if err != nil { log.Printf("Couldn't fetch module list to check for module-remap-source: %v\n", err) } + virtualDeviceInUse = virtualDeviceInUse || (module.NUsed != 0) + if nullsink && ladspasink && loopback && remap { inpLoaded = true } else if nullsink || ladspasink || loopback || remap { @@ -76,10 +79,11 @@ if ctx.config.FilterOutput { if ctx.serverInfo.servertype == servertype_pipewire { - _, ladspasink, err := findModule(c, "module-ladspa-sink", "sink_name='NoiseTorch Headphones'") + module, ladspasink, err := findModule(c, "module-ladspa-sink", "sink_name='NoiseTorch Headphones'") if err != nil { log.Printf("Couldn't fetch module list to check for module-ladspa-sink: %v\n", err) } + virtualDeviceInUse = virtualDeviceInUse || (module.NUsed != 0) outLoaded = ladspasink outputInc = false } else { @@ -95,10 +99,11 @@ if err != nil { log.Printf("Couldn't fetch module list to check for output module-ladspa-sink: %v\n", err) } - _, outin, err := findModule(c, "module-null-sink", "sink_name=nui_out_in_sink") + module, outin, err := findModule(c, "module-null-sink", "sink_name=nui_out_in_sink") if err != nil { log.Printf("Couldn't fetch module list to check for output module-ladspa-sink: %v\n", err) } + virtualDeviceInUse = virtualDeviceInUse || (module.NUsed != 0) _, loop2, err := findModule(c, "module-loopback", "source=nui_out_in_sink.monitor") if err != nil { log.Printf("Couldn't fetch module list to check for output module-ladspa-sink: %v\n", err) @@ -112,14 +117,14 @@ } if (inpLoaded || !ctx.config.FilterInput) && (outLoaded || !ctx.config.FilterOutput) && !inputInc { - return loaded + return loaded, virtualDeviceInUse } if (inpLoaded && ctx.config.FilterInput) || (outLoaded && ctx.config.FilterOutput) || inputInc || outputInc { - return inconsistent + return inconsistent, virtualDeviceInUse } - return unloaded + return unloaded, virtualDeviceInUse } func loadSupressor(ctx *ntcontext, inp *device, out *device) error { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/ui.go new/NoiseTorch-0.11.4/ui.go --- old/NoiseTorch-0.11.2/ui.go 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/ui.go 2021-09-28 16:27:57.000000000 +0200 @@ -34,6 +34,7 @@ capsMismatch bool views *ViewStack serverInfo audioserverinfo + virtualDeviceInUse bool } //TODO pull some of these strucs out of UI, they don't belong here @@ -149,13 +150,13 @@ if w.CheckboxText("Filter Microphone", &ctx.config.FilterInput) { ctx.sourceListColdWidthIndex++ //recompute the with because of new elements go writeConfig(ctx.config) - go (func() { ctx.noiseSupressorState = supressorState(ctx) })() + go (func() { ctx.noiseSupressorState, _ = supressorState(ctx) })() } if w.CheckboxText("Filter Headphones", &ctx.config.FilterOutput) { ctx.sourceListColdWidthIndex++ //recompute the with because of new elements go writeConfig(ctx.config) - go (func() { ctx.noiseSupressorState = supressorState(ctx) })() + go (func() { ctx.noiseSupressorState, _ = supressorState(ctx) })() } w.TreePop() @@ -239,21 +240,19 @@ w.Row(25).Dynamic(2) if ctx.noiseSupressorState != unloaded { if w.ButtonText("Unload NoiseTorch") { - ctx.views.Push(loadingView) ctx.reloadRequired = false - go func() { // don't block the UI thread, just display a working screen so user can't run multiple loads/unloads - if err := unloadSupressor(ctx); err != nil { - log.Println(err) - } - //wait until PA reports it has actually loaded it, timeout at 10s - for i := 0; i < 20; i++ { - if supressorState(ctx) != unloaded { - time.Sleep(time.Millisecond * 500) - } - } - ctx.views.Pop() - (*ctx.masterWindow).Changed() - }() + if ctx.virtualDeviceInUse { + confirm := makeConfirmView(ctx, + "Virtual Device in Use", + "Some applications may behave weirdly when you remove a device they're currently using", + "Unload", + "Go back", + func() { uiUnloadNoisetorch(ctx) }, + func() {}) + ctx.views.Push(confirm) + } else { + go uiUnloadNoisetorch(ctx) + } } } else { w.Spacing(1) @@ -271,30 +270,20 @@ ((ctx.config.FilterOutput && ctx.config.GuiltTripped) || !ctx.config.FilterOutput) && ctx.noiseSupressorState != inconsistent { if w.ButtonText(txt) { - ctx.views.Push(loadingView) ctx.reloadRequired = false - go func() { // don't block the UI thread, just display a working screen so user can't run multiple loads/unloads - if ctx.noiseSupressorState == loaded { - if err := unloadSupressor(ctx); err != nil { - log.Println(err) - } - } - if err := loadSupressor(ctx, &inp, &out); err != nil { - log.Println(err) - } - //wait until PA reports it has actually loaded it, timeout at 10s - for i := 0; i < 20; i++ { - if supressorState(ctx) != loaded { - time.Sleep(time.Millisecond * 500) - } - } - ctx.config.LastUsedInput = inp.ID - ctx.config.LastUsedOutput = out.ID - go writeConfig(ctx.config) - ctx.views.Pop() - (*ctx.masterWindow).Changed() - }() + if ctx.virtualDeviceInUse { + confirm := makeConfirmView(ctx, + "Virtual Device in Use", + "Some applications may behave weirdly when you reload a device they're currently using", + "Reload", + "Go back", + func() { uiReloadNoisetorch(ctx, inp, out) }, + func() {}) + ctx.views.Push(confirm) + } else { + go uiReloadNoisetorch(ctx, inp, out) + } } } else { w.Spacing(1) @@ -302,6 +291,45 @@ } +func uiUnloadNoisetorch(ctx *ntcontext) { + ctx.views.Push(loadingView) + if err := unloadSupressor(ctx); err != nil { + log.Println(err) + } + //wait until PA reports it has actually loaded it, timeout at 10s + for i := 0; i < 20; i++ { + if state, _ := supressorState(ctx); state != unloaded { + time.Sleep(time.Millisecond * 500) + } + } + ctx.views.Pop() + (*ctx.masterWindow).Changed() +} + +func uiReloadNoisetorch(ctx *ntcontext, inp, out device) { + ctx.views.Push(loadingView) + if ctx.noiseSupressorState == loaded { + if err := unloadSupressor(ctx); err != nil { + log.Println(err) + } + } + if err := loadSupressor(ctx, &inp, &out); err != nil { + log.Println(err) + } + + //wait until PA reports it has actually loaded it, timeout at 10s + for i := 0; i < 20; i++ { + if state, _ := supressorState(ctx); state != loaded { + time.Sleep(time.Millisecond * 500) + } + } + ctx.config.LastUsedInput = inp.ID + ctx.config.LastUsedOutput = out.ID + go writeConfig(ctx.config) + ctx.views.Pop() + (*ctx.masterWindow).Changed() +} + func ensureOnlyOneInputSelected(inps *[]device, current *device) { if current.checked != true { return @@ -441,6 +469,27 @@ return } } +} + +func makeConfirmView(ctx *ntcontext, title, text, confirmText, denyText string, confirmfunc, denyfunc func()) ViewFunc { + return func(ctx *ntcontext, w *nucular.Window) { + w.Row(15).Dynamic(1) + w.Label(title, "CB") + w.Row(15).Dynamic(1) + w.Label(text, "CB") + w.Row(40).Dynamic(1) + w.Row(25).Dynamic(2) + if w.ButtonText(denyText) { + ctx.views.Pop() + go denyfunc() + return + } + if w.ButtonText(confirmText) { + ctx.views.Pop() + go confirmfunc() + return + } + } } func resetUI(ctx *ntcontext) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/vendor/github.com/lawl/pulseaudio/client.go new/NoiseTorch-0.11.4/vendor/github.com/lawl/pulseaudio/client.go --- old/NoiseTorch-0.11.2/vendor/github.com/lawl/pulseaudio/client.go 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/vendor/github.com/lawl/pulseaudio/client.go 2021-09-28 16:27:57.000000000 +0200 @@ -383,7 +383,7 @@ return p, nil } - p = filepath.Join(os.Getenv("HOME"), "/.pulse_cookie") + p = filepath.Join(os.Getenv("HOME"), "/.pulse-cookie") if exists(p) { return p, nil } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/vendor/github.com/lawl/pulseaudio/format.go new/NoiseTorch-0.11.4/vendor/github.com/lawl/pulseaudio/format.go --- old/NoiseTorch-0.11.2/vendor/github.com/lawl/pulseaudio/format.go 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/vendor/github.com/lawl/pulseaudio/format.go 2021-09-28 16:27:57.000000000 +0200 @@ -156,13 +156,15 @@ sptr, ok := v.(*string) if ok { - buf := make([]byte, 1024) // max string length i guess. + buf := make([]byte, 0) i := 0 for { - _, err := r.Read(buf[i : i+1]) + var curChar [1]byte + _, err := r.Read(curChar[:]) if err != nil { return err } + buf = append(buf, curChar[0]) if buf[i] == 0 { *sptr = string(buf[:i]) break diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/NoiseTorch-0.11.2/vendor/modules.txt new/NoiseTorch-0.11.4/vendor/modules.txt --- old/NoiseTorch-0.11.2/vendor/modules.txt 2021-05-20 15:04:40.000000000 +0200 +++ new/NoiseTorch-0.11.4/vendor/modules.txt 2021-09-28 16:27:57.000000000 +0200 @@ -71,7 +71,7 @@ # github.com/hashicorp/golang-lru v0.0.0-20160813221303-0a025b7e63ad github.com/hashicorp/golang-lru github.com/hashicorp/golang-lru/simplelru -# github.com/lawl/pulseaudio v0.0.0-20200802093727-ab0735955fd0 +# github.com/lawl/pulseaudio v0.0.0-20210928141934-ed754c0c6618 ## explicit github.com/lawl/pulseaudio # github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.PJzP6k/_old 2021-10-11 15:32:19.182912540 +0200 +++ /var/tmp/diff_new_pack.PJzP6k/_new 2021-10-11 15:32:19.182912540 +0200 @@ -5,7 +5,7 @@ <param name="package-meta">yes</param> <param name="changesgenerate">enable</param> <param name="submodules">enable</param> - <param name="revision">0.11.2</param> + <param name="revision">0.11.4</param> <param name="versionformat">@PARENT_TAG@</param> </service> <service name="recompress" mode="disabled"> @@ -13,6 +13,6 @@ <param name="file">*.tar</param> </service> <service name="go_modules" mode="disabled"> - <param name="archive">NoiseTorch-0.11.2.tar.gz</param> + <param name="archive">NoiseTorch-0.11.4.tar.gz</param> </service> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.PJzP6k/_old 2021-10-11 15:32:19.206912578 +0200 +++ /var/tmp/diff_new_pack.PJzP6k/_new 2021-10-11 15:32:19.206912578 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/lawl/NoiseTorch.git</param> - <param name="changesrevision">c2bfe0202f5c58e35700925f6bbf5bafe613d509</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">4aca9e658874f8c72fff3a03039de40e294d1822</param></service></servicedata> \ No newline at end of file ++++++ vendor.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/github.com/lawl/pulseaudio/client.go new/vendor/github.com/lawl/pulseaudio/client.go --- old/vendor/github.com/lawl/pulseaudio/client.go 2021-05-25 11:54:22.686938000 +0200 +++ new/vendor/github.com/lawl/pulseaudio/client.go 2021-10-08 22:48:39.809585000 +0200 @@ -383,7 +383,7 @@ return p, nil } - p = filepath.Join(os.Getenv("HOME"), "/.pulse_cookie") + p = filepath.Join(os.Getenv("HOME"), "/.pulse-cookie") if exists(p) { return p, nil } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/github.com/lawl/pulseaudio/format.go new/vendor/github.com/lawl/pulseaudio/format.go --- old/vendor/github.com/lawl/pulseaudio/format.go 2021-05-25 11:54:22.686938000 +0200 +++ new/vendor/github.com/lawl/pulseaudio/format.go 2021-10-08 22:48:39.809585000 +0200 @@ -156,13 +156,15 @@ sptr, ok := v.(*string) if ok { - buf := make([]byte, 1024) // max string length i guess. + buf := make([]byte, 0) i := 0 for { - _, err := r.Read(buf[i : i+1]) + var curChar [1]byte + _, err := r.Read(curChar[:]) if err != nil { return err } + buf = append(buf, curChar[0]) if buf[i] == 0 { *sptr = string(buf[:i]) break diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vendor/modules.txt new/vendor/modules.txt --- old/vendor/modules.txt 2021-05-25 11:54:22.718937900 +0200 +++ new/vendor/modules.txt 2021-10-08 22:48:39.837585700 +0200 @@ -71,7 +71,7 @@ # github.com/hashicorp/golang-lru v0.0.0-20160813221303-0a025b7e63ad github.com/hashicorp/golang-lru github.com/hashicorp/golang-lru/simplelru -# github.com/lawl/pulseaudio v0.0.0-20200802093727-ab0735955fd0 +# github.com/lawl/pulseaudio v0.0.0-20210928141934-ed754c0c6618 ## explicit github.com/lawl/pulseaudio # github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635