[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Add sndio sound support for OpenBSD (#451)
Tobias Pape
notifications at github.com
Mon Dec 9 10:42:19 UTC 2019
krono commented on this pull request.
Looks good overall
> @@ -11,7 +11,7 @@ LDFLAGS=""
case $(uname -s) in
OpenBSD)
CFLAGS="$CFLAGS -I/usr/local/include"
- LIBS="$LIBS -lexecinfo"
+ LIBS="$LIBS -lexecinfo -lsndio"
This should go in `Makefile.inc` in the plugins dir as such:
```
PLIBS=-lsndio
```
> @@ -0,0 +1,201 @@
+/* sqUnixSndioSound.c -- sound module for sndio sound system
+ *
+ * Last edited: 2005-04-06 05:44:40 by piumarta on pauillac.hpl.hp.com
maybe adapt that one ;)
> @@ -0,0 +1,201 @@
+/* sqUnixSndioSound.c -- sound module for sndio sound system
+ *
+ * Last edited: 2005-04-06 05:44:40 by piumarta on pauillac.hpl.hp.com
+ *
+ * This is a driver for the OpenBSD sndio sound drivers for Squeak.
+ *
+ */
+
+#include "sq.h"
+#include "sqaio.h"
+
+#include <stdio.h>
+#include <sndio.h>
+
+#define trace() fprintf(stderr, "%s:%d %s\n", __FILE__, __LINE__, __FUNCTION__)
Please add a debug guard
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/451#pullrequestreview-328826882
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20191209/4f4e4eee/attachment.html>
More information about the Vm-dev
mailing list