From xemacs-m  Wed Apr  9 20:36:43 1997
Received: from crystal.WonderWorks.COM (crystal.WonderWorks.com [192.203.206.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id UAA17483
	for <xemacs-beta@xemacs.org>; Wed, 9 Apr 1997 20:36:41 -0500 (CDT)
Received: by crystal.WonderWorks.COM 
	id QQckpi23701; Wed, 9 Apr 1997 21:36:43 -0400 (EDT)
Date: Wed, 9 Apr 1997 21:36:43 -0400 (EDT)
Message-Id: <QQckpi23701.199704100136@crystal.WonderWorks.COM>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Kyle Jones <kyle_jones@wonderworks.com>
To: xemacs-beta@xemacs.org
Subject: some more regarding sounds...
In-Reply-To: <m3afn7vftn.fsf@jens.metrix.de>
References: <m3afn7vftn.fsf@jens.metrix.de>
X-Mailer: VM 6.25 under 19.15 XEmacs Lucid
X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M
        0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^
        Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy
        ,qz]Z,Zz\{E.,]'EO+F)@$KtF&V

Jens Lautenbacher writes:
 > ...what is the correct way to probe if sound support was compiled into 
 > XEmacs -- aka: what is xxx in (featurep 'xxx) ???

Here's what VM uses to tell whether it should bother trying to
play a sound.

(and (or (featurep 'native-sound)
	 (featurep 'nas-sound))
     (or (device-sound-enabled-p)
	 (and (featurep 'native-sound)
	      (not native-sound-only-on-console)
	      (eq (device-type) 'x))))

