Commit Graph

121 Commits (master)
 

Author SHA1 Message Date
lawl 1aa277446b Add PipeWire support to README 3 years ago
lawl a2a45bc88b UI: Add confirm screen for unload/reload when device in use
Reloading/Unloading destroys the virtual device that an application
is currently using. Add a warning that this may cause strange behaviour.
3 years ago
lawl cb2ee053b6 Handle non-semver versions in audio client gracefully-ish 3 years ago
lawl d1aa44c3c7 pulseaudio: update module with fixed cookie lookup 3 years ago
lawl 077b4763fe CLI: Cleanup temp files on exit
Fixes #135
3 years ago
Andreas Schneider 809f184e87 c:ladspa: Fix linking with libm
Fixes #140
3 years ago
Andreas Schneider a32f73509f Revert "Temporarily force clang if available"
This reverts commit c2bfe0202f.
3 years ago
lawl c2bfe0202f Temporarily force clang if available
GCC10 seems to refuse to link libm. GCC11 and clang seem to work fine.
3 years ago
lawl a57cc20110 display error screen if module load fails 3 years ago
lawl fad3e1d4f4 Add support for PipeWire
Warning: Alpha quality. Please manage your expectations.
3 years ago
Sefa Eyeoglu 9b651eb701
Implement distribution-specific builds
Make more things configurable at compile time so building binaries for distributions is easier while complying with the license.
3 years ago
lawl a0620ae92c Remove 3rd party package warning from README
The distribution that shall not be named (btw) has decided to
comply with the license. (For now?)
3 years ago
lawl 8b11b649ee Don't log to a file anymore. Log to stdout if called with -log
Additionally refactor the CLI a bit more to make that possible
3 years ago
lawl 0ef8229e6f License: Use convey instead of distribute for wording 3 years ago
lawl fb46112181 Add link of a demo to readme
Closes #19
3 years ago
Lorenz 4853c5c8d7
Fix not printing errror message
The CLI should print errors to stderr, and not write to the log file.
3 years ago
lawl 95e82fcbfd CLI: Factor CLI out of main
Our CLI shared some data structures, like the pulseaudio connection with the GUI.
This could lead to issues where the UI would break when code on the CLI was changed
because the the GUI must handle things differently, by nature of working differently.

Add more separation between those, so changes on the CLI are less likely to break the GUI.
3 years ago
lawl 6ea788a0c0 Refactor: Remove old method of removing rlimit for pulseaudio
Previously we had the capability to remove the rlimit on pulseaudio
by calling ourselves via pkexec to elevate privileges.
A while ago we switched to fully using capabilities.
We now remove the old legacy codepath.
3 years ago
lawl 245455d508 Refactor UI: Rename "screen" to "view" 3 years ago
lawl 6f901716ed Refactor UI: Use a stack of views to handle what to display
Previously we dispatched calls to different drawing function with
a bunch of if statements in the main draw function.

Use a stack of drawing functions instead.
3 years ago
lawl fe14585a37 make troubleshooting section more visible 3 years ago
lawl 8b054c20a9 Update License 3 years ago
lawl ee91fea993 Use -O2 for LADSPA module 3 years ago
lawl 3119fc5997 Use go:embed instead of scripts/embedbinary.go 3 years ago
lawl 5a55f0538a Update 'Special thanks to' 3 years ago
lawl 77a8c73436 Update build instructions 3 years ago
lawl fcb4db042c Add information about potentially having to relog for PATH changes 3 years ago
lawl 7172888478 Convert fmt print to log print 3 years ago
lawl 335b8a2567 Fix unloading via CLI (-u)
Squashed commit of the following:

commit 19532d64a7f7337da7f844d52198417ceaf60e80
Author: lawl <github@dumbinter.net>
Date:   Thu Feb 4 10:40:27 2021 +0100

    Fix unloading paClient for UI

commit 66ece81e17589988f92059b44b2659fdca0c4ca1
Merge: 1c97cfe 60d06f2
Author: lawl <github@dumbinter.net>
Date:   Thu Feb 4 10:36:13 2021 +0100

    Merge branch 'fix_cli_unload' of git://github.com/hador/NoiseTorch into hador-fix_cli_unload

commit 60d06f25aa
Author: andreafa <andreafa@amazon.com>
Date:   Thu Feb 4 08:51:48 2021 +0000

    Fix cli unload (-u).

    The findModule method in module.go requires a valid paClient to be
    populated in the context object.
    Added logging if unloadSupressor fails when called via the -u CLI flag.
3 years ago
Andrea Fagiani 1c97cfe43c
Use 24-hour clock when adding timestamps to log file names. (#92)
Co-authored-by: andreafa <andreafa@amazon.com>
3 years ago
lawl 47d8188b3a Add warning if FS capabilities don't match process capabilities 3 years ago
lawl febccb207b Tune values for fixed latency devices 3 years ago
lawl 54f9e012e3 Make sure we remove rlimit for unloading too 3 years ago
lawl 730dc35d94 Require capabilities on startup 3 years ago
lawl 4513db1baf use different params for fixed latency devices to hopefully correct latency faster 3 years ago
lawl e7072b2bf9 Add -Wall, -Werr 3 years ago
lawl b747084bb0 Replace noise-suppression-for-voice with own implementation
In preparation for PipeWire support we required our own implementation anyways.
To have a shared code base and potentially enable some other tighter integration
between the LADSPA module and NoiseTorch, we move to our own implementation.
3 years ago
lawl 4f7ac325ab
Update README.md 3 years ago
lawl f3c11be919 remove more commented code (yuck) 3 years ago
lawl 313aca54a2 remove commented out code 3 years ago
lawl da9370e983 fix noop updater 3 years ago
lawl 37692a873a Implement output filtering 3 years ago
lawl d8be27d86e Make patreon call to action look nicer 3 years ago
Nicu Reut 595b8ab9b4
Remember last used device and preselect pulseaudio default 3 years ago
lawl 39c1e37dfa Fix regression in CLI 3 years ago
lawl 8ddee5f4bd Add build flag to enable the update
A regular make will produce a build without the updater.
An explicit -tags release is now required to bake the updater in.
3 years ago
lawl 76d5c2e5ff Add patreon button 3 years ago
lawl cd2b2c843d Implement using CAP_SYS_RESOURCE
Instead of pkexecing everytime we check if we have CAP_SYS_RESOURCE and then just do it directly.
If we don't have it, we try to set it with pkexec.
3 years ago
lawl 6238c208e5 Refactor: uistate -> context 3 years ago
spitts be9849b748
Add space after "Device Name" to match "Device ID" 4 years ago