diff --git a/.deps/cava.Po b/.deps/cava.Po deleted file mode 100644 index 9ce06a8..0000000 --- a/.deps/cava.Po +++ /dev/null @@ -1 +0,0 @@ -# dummy diff --git a/Makefile.am b/Makefile.am index 2348015..d46de14 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,5 @@ AUTOMAKE_OPTIONS = foreign -PACKAGE ?= cava -VERSION ?= $(shell git describe --always --tags --dirty) - if !SYSTEM_LIBINIPARSER SUBDIRS = iniparser endif diff --git a/example_files/config b/example_files/config index 3056a56..b272247 100644 --- a/example_files/config +++ b/example_files/config @@ -32,6 +32,7 @@ [input] # method of capturing audio, supported input methods are: 'pulse', 'alsa' or 'fifo'. +# Defaults to 'alsa' # # for pulseaudio 'source' wil be the source. Default: 'alsa_output.0.analog-stereo.monitor' # all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them diff --git a/input/pulse.c b/input/pulse.c index 287a7f8..ea89da8 100644 --- a/input/pulse.c +++ b/input/pulse.c @@ -22,8 +22,8 @@ void* input_pulse(void* data) .channels = 2 }; static const pa_buffer_attr pb = { - .maxlength = 1024, - .fragsize = 1024 + .maxlength = BUFSIZE * 2, + .fragsize = BUFSIZE }; pa_simple *s = NULL;