Quantum
7afcbada65
Switch to allocating arrays for fftw with fftw_alloc_*
6 years ago
karl
716fc16e40
Merge pull request #292 from quantum5/clang-format
...
Use clang-format to ensure a consistent style
6 years ago
Quantum
9d93debec4
Use clang-format to ensure a consistent style
6 years ago
karl
7408c05966
Merge pull request #311 from Xyene/loop-bounds
...
Use loop exit condition in place of always true
6 years ago
Tudor Brindus
889860d48f
Use loop exit condition in place of always true
6 years ago
karl
9ab9358d98
Merge pull request #310 from quantum5/fix-ini-leak
...
Fix memory leak in load_config with strdup and iniparser_freedict
6 years ago
karl
4ad1e5bb73
Merge pull request #309 from quantum5/less-asan-spam
...
Reduce ASan leak reports by moving buffers to global scope
6 years ago
Quantum
273c469dba
Fix memory leak in load_config with strdup and iniparser_freedict
...
Memory leaks every time settings are reloaded.
6 years ago
Quantum
a1be8c1eec
Reduce ASan leak reports by moving buffers to global scope
6 years ago
karl
01049230a5
Merge pull request #308 from quantum5/smooth-overflow
...
Allocate extra memory to fix p->smooth buffer overflow
6 years ago
karl
99069fa5ad
Merge pull request #307 from quantum5/asan
...
Add --enable-asan flag to ./configure
6 years ago
Quantum
ccad132319
Allocate extra memory to fix p->smooth buffer overflow
6 years ago
Quantum
fb0de03df2
Add --enable-asan flag to ./configure
6 years ago
karl
75c28be362
Merge pull request #304 from Xyene/ncurses-tty
...
ncurses: tentatively fix tty output
6 years ago
karl
c2b43bb22f
Merge pull request #303 from Xyene/calloc
...
Use calloc rather than malloc + custom memset on init
6 years ago
Tudor Brindus
cc1e6230c8
ncurses: tentatively fix tty output
6 years ago
Tudor Brindus
9fbf90f701
Use calloc rather than malloc + custom memset on init
6 years ago
karl
ccd3a88d24
Merge pull request #302 from Xyene/fix-last-debug
...
Missed two DEBUG to NDEBUG conversions
6 years ago
Tudor Brindus
7b1f1c6e22
Missed two DEBUG to NDEBUG conversions
6 years ago
karl
c905a047d7
Merge pull request #301 from Xyene/no-exit-error
...
ncurses: silence `setterm` errors on exit
6 years ago
karl
bbc683a53e
Merge pull request #300 from Xyene/faster-ncurses-backend
...
Rework output/terminal_ncurses.c to be more performant
6 years ago
Tudor Brindus
0c93dfdf45
Rework output/terminal_ncurses.c to be more performant
...
By scanning through the updates row-by-row rather than column-by-column,
a lot of color-changing updates are saved when using a gradient. This
seems to significantly reduce tearing when running Cava through urxvt on
an X11 server.
6 years ago
karl
db7f8d1ccb
Merge pull request #299 from Xyene/debug-printf
...
Use NDEBUG for debugging and add debug print helper
6 years ago
karl
3beb3c05dc
Merge pull request #298 from Xyene/no-wchar-format-strings
...
Improve performance by not parsing format string every cell
6 years ago
Tudor Brindus
e258288e35
ncurses: silence `setterm` errors on exit
...
`setterm` can fail, in which case cava exits with something like:
> setterm: terminal rxvt-unicode-256color does not support --blank
This commit silences the potential error.
6 years ago
karl
d8fb195d77
Merge pull request #297 from quantum5/ci
...
Add Linux and macOS CI through GitHub actions
6 years ago
karl
81e9f356e6
Merge pull request #295 from quantum5/fifo-fix
...
Reset correct arrays in input/fifo.c
6 years ago
Tudor Brindus
c31d324a11
Use NDEBUG for debugging; add debug print helper
...
This commit is split up in two parts.
First, usage of DEBUG is remapped to NDEBUG, such that the behaviour of
assert(3) is as expected with --enable-debug=false (i.e. asserts get
disabled, where they previously did not).
Second, instances of `printf` guarded by `#ifdef DEBUG` blocks have been
refactored into a dedicated `debug` macro to make the code a bit easier
to follow. `debug` is a no-op when `NDEBUG` is set.
6 years ago
Tudor Brindus
04eabc7d8d
Improve performance by not parsing format string every cell
...
`printf` and friends need to do work to parse the "%d" format string
during each call to `mvprintw`, and then more work to convert a
possibly-variable-length integer to a string.
Since we know that 0 <= `f[bar]` % 8 < 8, we can perform the character
conversion ourselves, saving some CPU time (and battery).
6 years ago
Quantum
99efe1c19c
Reset correct arrays in input/fifo.c
6 years ago
Guanzhong Chen
59fa7c410e
Add Linux and macOS CI through GitHub actions
6 years ago
karlstav
a0f36c3b78
use bundled iniparser as libtool convenience library to avoid multiple instalation of shared lib #231
6 years ago
karlstav
7fca121171
fix wrong number of eq values in new default #231
6 years ago
karlstav
f1a5e714b8
added .libs ti gitignore
6 years ago
karlstav
c9f9bfa041
Revert "iniparser build files removed from .gitignore"
...
This reverts commit a7e8b8539e .
6 years ago
karlstav
f9b91b7264
readded bundled iniparser ref: #231
6 years ago
karl
9610991b3a
remove accidentally added pipe sign
6 years ago
karl
c02528dbd7
Merge pull request #291 from quantum5/fifo-sample
...
Allow FIFO input sample rate to be configurable
6 years ago
karl
2d6052718a
Merge pull request #290 from arthurlutz/patch-1
...
[README] update debian compile instructions
6 years ago
Quantum
c6533045aa
Allow FIFO input sample rate to be configurable
...
Refs #275 .
While it was mentioned that the ability to acquire this information from MPD
would be useful, allowing it to be configured explicitly could be allow FIFO
to be used for non-MPD sources as well.
6 years ago
Arthur Lutz
ba4f768271
[README] update debian compile instructions
...
Related to #231
6 years ago
karlstav
7ce7f96bee
updated todo
6 years ago
karlstav
a7e8b8539e
iniparser build files removed from .gitignore
6 years ago
karlstav
4fd17de951
the default EQ should be flat, not this crazy long thing
6 years ago
karlstav
c782529abd
added some spacing in the README
6 years ago
karlstav
3c85435a88
removed bundled iniparser as it is now also avalable in most package repos
6 years ago
karlstav
3cc2f9f855
added automake related files to gitignore
6 years ago
karlstav
ca09a8ac85
improved inparser configure message
6 years ago
karlstav
282c2fac33
added automatic detection of legacy iniparser #236
6 years ago
karlstav
b680b6009b
changed some default values, no monstercat and more integral sommthing
6 years ago