Skip to content

Commit

Permalink
Merge branch 'morgant-fix-missing-math-lib'
Browse files Browse the repository at this point in the history
  • Loading branch information
dim13 committed Jan 7, 2025
2 parents f366d91 + af764fc commit a5f958c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.bsd-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a5f958c

Please sign in to comment.