Coder Social home page Coder Social logo

Cava about ninjatools HOT 3 CLOSED

szorfein avatar szorfein commented on August 24, 2024
Cava

from ninjatools.

Comments (3)

szorfein avatar szorfein commented on August 24, 2024

I am definetly sorry for making so many issues... but issues are issues.

No problem.

Here you need to recompile your kernel source with the option CONFIG_SND_ALOOP=y , this is required by cava as describe here for create a loopback device:

https://github.com/karlstav/cava#alsa-loopback-device-tricky

from ninjatools.

name4ef avatar name4ef commented on August 24, 2024

I getted error with cava too but on compilation stage:

x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"cava\ \" -DPACKAGE_BUGREPO
RT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAV
E_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -D
LT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -DHAVE_CURSES_H=1 -I.  -DPACKAGE=\"cava\" -DVERSION=\"\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_
XOPEN_SOURCE_EXTENDED -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DPULSE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -DNCURSES
-std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized  -O2 -pipe -c -o output/cava-terminal_nc
urses.o `test -f 'output/terminal_ncurses.c' || echo './'`output/terminal_ncurses.c
input/common.c:21:57: error: argument 2 of type ‘int16_t[(int)frames * 2]’ {aka ‘short int[(int)frames * 2]’} declared with mismatched bound ‘(
int) frames * 2’ [-Werror=vla-parameter]
   21 | int write_to_fftw_input_buffers(int16_t frames, int16_t buf[frames * 2], void *data) {
      |                                                 ~~~~~~~~^~~~~~~~~~~~~~~
In file included from input/common.c:1:
./input/common.h:42:57: note: previously declared as ‘int16_t[(int)frames * 2]’ {aka ‘short int[(int)frames * 2]’} with bound ‘(int) frames * 2
’
   42 | int write_to_fftw_input_buffers(int16_t frames, int16_t buf[frames * 2], void *data);
      |                                                 ~~~~~~~~^~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: all warnings being treated as errors
make[1]: *** [Makefile:651: input/cava-common.o] Error 1
make[1]: *** Waiting for unfinished jobs....
output/terminal_ncurses.c:196:31: error: argument 9 of type ‘int[200]’ with mismatched bound [-Werror=array-parameter=]
  196 |                           int previous_frame[200], int gradient, int x_axis_info) {
      |                           ~~~~^~~~~~~~~~~~~~~~~~~
In file included from output/terminal_ncurses.c:1:
./output/terminal_ncurses.h:7:31: note: previously declared as ‘int[256]’
    7 |                           int previous_frame[256], int gradient, int x_axis_info);
      |                           ~~~~^~~~~~~~~~~~~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: all warnings being treated as errors
make[1]: *** [Makefile:777: output/cava-terminal_ncurses.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-sound/cava-0.7.3/work/cava-0.7.3'
make: *** [Makefile:823: all-recursive] Error 1

update to version 0.7.4 fixed this trouble.

from ninjatools.

TheRealOne78 avatar TheRealOne78 commented on August 24, 2024

::gentoo has cava now in mainstream with pulseaudio support as well

from ninjatools.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.