diff --git a/Makefile.bsd-wrapper b/Makefile.bsd-wrapper index b7f2886..d1c0d50 100644 --- a/Makefile.bsd-wrapper +++ b/Makefile.bsd-wrapper @@ -11,7 +11,7 @@ PCCF!= pkg-config --cflags ${LIBS} CFLAGS+=${PCCF} PCLA!= pkg-config --libs ${LIBS} -LDADD+= ${PCLA} -lsndio +LDADD+= ${PCLA} -lm -lsndio DEBUG+= -Wall NOMAN= diff --git a/README.md b/README.md index fca7a6f..298114a 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,24 @@ Visualisation hack for OpenBSD (sndio) and Linux (alsa) playback. ## OpenBSD -`sndiod` must be started in monitoring mode: `sndiod -m play,mon,midi` +Install required packages: + +``` +pkg_add fftw3 +``` + +Build: + +``` +make -f Makefile.bsd-wrapper +``` + +`sndiod` must be started in monitoring mode (see the [Multimedia: Recording a Monitor Mix of All Audio Playback](https://www.openbsd.org/faq/faq13.html#recordmon) section of the FAQ:) + +``` +rcctl set sndiod flags -s default -m play,mon -s mon +rcctl restart sndiod +``` ## Linux