Skip to content

Commit a5f958c

Browse files
committed
Merge branch 'morgant-fix-missing-math-lib'
2 parents f366d91 + af764fc commit a5f958c

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

Makefile.bsd-wrapper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PCCF!= pkg-config --cflags ${LIBS}
1111
CFLAGS+=${PCCF}
1212

1313
PCLA!= pkg-config --libs ${LIBS}
14-
LDADD+= ${PCLA} -lsndio
14+
LDADD+= ${PCLA} -lm -lsndio
1515

1616
DEBUG+= -Wall
1717
NOMAN=

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,24 @@ Visualisation hack for OpenBSD (sndio) and Linux (alsa) playback.
66

77
## OpenBSD
88

9-
`sndiod` must be started in monitoring mode: `sndiod -m play,mon,midi`
9+
Install required packages:
10+
11+
```
12+
pkg_add fftw3
13+
```
14+
15+
Build:
16+
17+
```
18+
make -f Makefile.bsd-wrapper
19+
```
20+
21+
`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:)
22+
23+
```
24+
rcctl set sndiod flags -s default -m play,mon -s mon
25+
rcctl restart sndiod
26+
```
1027

1128
## Linux
1229

0 commit comments

Comments
 (0)