OSS sound on FreeBSD 5.2.1

Samuel Tardieu sam at rfc1149.net
Sat May 8 16:24:12 UTC 2004


>>>>> "Jim" == Jim Liedeka <jliedeka at tds.net> writes:

Jim> I wouldn't regard it as a bug.  FreeBSD doesn't actually use OSS.
Jim> It uses OSS compatible ioctls.  There may be some common macro
Jim> between the two that could be checked.  When I figured out why
Jim> the configure script was failing, it was late and I was out of
Jim> patience.

Incidentally, there is such a common macro: (I just patched my version
of Squeak VM a few days ago to detect it)

--- orig/platforms/unix/vm-sound-OSS/acinclude.m4
+++ mod/platforms/unix/vm-sound-OSS/acinclude.m4
@@ -1,7 +1,7 @@
 # -*- sh -*-
 
 AC_MSG_CHECKING([for Open Sound System])
-AC_TRY_COMPILE([#include <sys/soundcard.h>],[OPEN_SOUND_SYSTEM;],[
+AC_TRY_COMPILE([#include <sys/soundcard.h>],[EV_SEQ_LOCAL;],[
   AC_MSG_RESULT(yes)
 ],[
   AC_MSG_RESULT(no)






More information about the Squeak-dev mailing list