Commit Graph

122 Commits (371c72705c71b2b725b060df0f1b7aab72b2be06)
 

Author SHA1 Message Date
Felix Stupp 371c72705c
Add drone-ci config
continuous-integration/drone/push Build was killed Details
3 years ago
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.
4 years ago
lawl a57cc20110 display error screen if module load fails 4 years ago
lawl fad3e1d4f4 Add support for PipeWire
Warning: Alpha quality. Please manage your expectations.
4 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.
4 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?)
4 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
4 years ago
lawl 0ef8229e6f License: Use convey instead of distribute for wording 4 years ago
lawl fb46112181 Add link of a demo to readme
Closes #19
4 years ago
Lorenz 4853c5c8d7
Fix not printing errror message
The CLI should print errors to stderr, and not write to the log file.
4 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.
4 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.
4 years ago
lawl 245455d508 Refactor UI: Rename "screen" to "view" 4 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.
4 years ago
lawl fe14585a37 make troubleshooting section more visible 4 years ago
lawl 8b054c20a9 Update License 4 years ago
lawl ee91fea993 Use -O2 for LADSPA module 4 years ago
lawl 3119fc5997 Use go:embed instead of scripts/embedbinary.go 4 years ago
lawl 5a55f0538a Update 'Special thanks to' 4 years ago
lawl 77a8c73436 Update build instructions 4 years ago
lawl fcb4db042c Add information about potentially having to relog for PATH changes 4 years ago
lawl 7172888478 Convert fmt print to log print 4 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.
4 years ago
Andrea Fagiani 1c97cfe43c
Use 24-hour clock when adding timestamps to log file names. (#92)
Co-authored-by: andreafa <andreafa@amazon.com>
4 years ago
lawl 47d8188b3a Add warning if FS capabilities don't match process capabilities 4 years ago
lawl febccb207b Tune values for fixed latency devices 4 years ago
lawl 54f9e012e3 Make sure we remove rlimit for unloading too 4 years ago
lawl 730dc35d94 Require capabilities on startup 4 years ago
lawl 4513db1baf use different params for fixed latency devices to hopefully correct latency faster 4 years ago
lawl e7072b2bf9 Add -Wall, -Werr 4 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.
4 years ago
lawl 4f7ac325ab
Update README.md 4 years ago
lawl f3c11be919 remove more commented code (yuck) 4 years ago
lawl 313aca54a2 remove commented out code 4 years ago
lawl da9370e983 fix noop updater 4 years ago
lawl 37692a873a Implement output filtering 4 years ago
lawl d8be27d86e Make patreon call to action look nicer 4 years ago
Nicu Reut 595b8ab9b4
Remember last used device and preselect pulseaudio default 4 years ago
lawl 39c1e37dfa Fix regression in CLI 4 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.
4 years ago
lawl 76d5c2e5ff Add patreon button 4 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.
4 years ago
lawl 6238c208e5 Refactor: uistate -> context 4 years ago