From xemacs-m  Wed Apr  9 16:56:37 1997
Received: from mail.uni-muenster.de (MAIL.UNI-MUENSTER.DE [128.176.6.47])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id QAA07215
	for <xemacs-beta@xemacs.org>; Wed, 9 Apr 1997 16:56:35 -0500 (CDT)
Received: from cortex.corpus.uni-muenster.de (PPPE085.UNI-MUENSTER.DE [128.176.20.89]) by mail.uni-muenster.de (8.7.5/8.7.5) with ESMTP id XAA27180 for <xemacs-beta@xemacs.org>; Wed, 9 Apr 1997 23:56:27 +0200
Received: (from gutschk@localhost) by cortex.corpus.uni-muenster.de (8.8.5/8.8.2) id XAA06490; Wed, 9 Apr 1997 23:21:14 +0200
To: xemacs-beta@xemacs.org
Subject: Native sound support (Was: 20.1-beta11 build success on BSD/OS 2.1)
References: <m2hghj5qzo.fsf@altair.xemacs.org> <19970408122515V.kasahara@nc.kyushu-u.ac.jp>
X-Face: +.[`xCMz]E6GW}5ECgY#C"Er6&v$q7:oe+zPlPtOh>/US;9B>;)ro_lpLx9/]q_{u-\YR>r
 P&)Da0gS,PW{@BWSG,PIV)3#J<$Ft_t]qa!xF~'*wuwg-CJj*0:EUr3z}y
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: multipart/signed; protocol="application/pgp-signature";
 boundary="pgp-sign-Multipart_Wed_Apr__9_23:21:08_1997-1"; micalg=pgp-md5
Content-Transfer-Encoding: 7bit
From: Markus Gutschke <gutschk@uni-muenster.de>
Date: 09 Apr 1997 23:21:12 +0200
In-Reply-To: Yoshiaki Kasahara's message of Tue, 08 Apr 1997 12:25:15 +0900
Message-ID: <m3hghfevuf.fsf_-_@cortex.corpus.uni-muenster.de>
Lines: 58
X-Mailer: Gnus v5.4.12/XEmacs 20.1

--pgp-sign-Multipart_Wed_Apr__9_23:21:08_1997-1
Content-Type: text/plain; charset=US-ASCII

Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> writes:
> Well, currently --with-sound=native doesn't support BSD/OS.  BSD/OS
> 2.1 has /dev/dsp and /dev/audio, but no libaudio.a.

libaudio.a is part of the NAS system. It is not needed for native
sound support. "--with-sound=native" /should/ work just fine on any
system that supports OSS (open sound system). This is the native sound
system for Linux and AFAIK it has also been ported to the free *BSD
variants.

A little while ago, Dick van den Burg sent me a patch that enabled OSS
native sound support for FreeBSD. This patch has already been merged
with current XEmacs releases. As I do not run any of the *BSD
operating systems, I cannot verify if that code automatically works
for all of the other *BSD operating systems. In any case, it should be
easy to fix:

Load the file "src/Makefile.in.in" and look for the following lines

# elif defined (LINUX) || defined(__FreeBSD__)
#   define SOUND_CFLAGS
#   define SOUND_OBJS		linuxplay.o
# else

you will have to provide another "defined(...)" clause, that
identifies your operating systems. After making this change, you can
(hopefully) configure for "--with-sound=native".

Please submit a patch to Steve, after you found the magic incantation
:-)


Markus

-- 
Markus Gutschke          Internet:       gutschk@math.uni-muenster.de
Schlage 5a               PGP public key: finger -l gutschk@math.uni-muenster.de
D-48268 Greven-Gimbte
Germany                            >>> I prefer encrypted e-mail <<<

--pgp-sign-Multipart_Wed_Apr__9_23:21:08_1997-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP MESSAGE-----
Version: 2.6

iQCVAgUBM0wIRxqJqDLErwMxAQHgLgP+Lw87zKpVKJHBrjBNzPBBHM0Mg9ZOQGxr
cE8oVBCGlSDJzxkQey029L7yc0uMUWLLDJbRaMqOi7O21yeNpOtPA20PTG2u3bnX
LOCDf/wcL143bQJjw/qGMTOLJMEJF8rMfz6qcZDOBxa5WUmZxshtDinRlfkf23hj
oso1A8jBc5k=
=YVWk
-----END PGP MESSAGE-----

--pgp-sign-Multipart_Wed_Apr__9_23:21:08_1997-1--

