Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 1998 10:47:29 -0400 (EDT)
From:      "Viren R. Shah" <viren@rstcorp.com>
To:        freebsd-multimedia@FreeBSD.ORG
Subject:   XEmacs and sound?
Message-ID:  <199806161447.KAA10460@jabberwock.rstcorp.com>

next in thread | raw e-mail | index | archive | help

I'm having problems getting XEmacs to use the sound card on FreeBSD. 

FreeBSD 2.2.6
Sound card: 
CSN 1 Vendor ID: CSC0b35 [0x350b630e] Serial 0xffffffff
PnP: override config for CSN 1 LDN 0 vend_id 0x350b630e
mss_attach <CS4236>1 at 0x530 irq 5 dma 1:3 flags 0x13
pcm1 (CS423x/Yamaha <CS4236> sn 0xffffffff) at 0x530 irq 5 drq 1 \
flags 0x13 id 15 

[vshah@jabberwock] ~/Apps> ls -la /dev/*audio* /dev/mixe* /dev/spe* /dev/dsp*
lrwxrwxrwx  1 root  wheel         6 Jun 15 16:48 /dev/audio@ -> audio1
crw-rw-rw-  1 root  wheel   30,  20 Jun 15 16:47 /dev/audio1
crw-------  1 root  wheel   24,   0 Jun 15 15:39 /dev/pcaudio
crw-------  1 root  wheel   24, 128 Jun 15 15:39 /dev/pcaudioctl
lrwxrwxrwx  1 root  wheel         4 Jun 15 16:48 /dev/dsp@ -> dsp1
crw-rw-rw-  1 root  wheel   30,  19 Jun 15 16:47 /dev/dsp1
lrwxrwxrwx  1 root  wheel         5 Jun 15 16:48 /dev/dspW@ -> dspW1
crw-rw-rw-  1 root  wheel   30,  21 Jun 15 16:47 /dev/dspW1
lrwxrwxrwx  1 root  wheel         6 Jun 15 16:48 /dev/mixer@ -> mixer1
crw-rw-rw-  1 root  wheel   30,  16 Jun 15 16:47 /dev/mixer1
crw-------  1 root  wheel   26,   0 Jun 15 08:41 /dev/speaker


I can play audio CDs thru the sound card. However XEmacs wil not play
any sounds. It emits an error message of:
audio: SNDCTL_DSP_SETFMT, Undefined error: 0

This the the XEmacs package for 2.2.6. And the sounds that it is
trying to play are .au files from the distribution. I'm not sure
whether it is trying to use the /dev/speaker device, or any of the
others. 

Any ideas?

[I'd appreciate a cc: , since i'm not on the list]
Thanks
Viren
-- 
Viren R. Shah, {viren @ rstcorp . com} http://www.rstcorp.com/~vshah/
   ======     FreeBSD: It's free, it's fast, it's fun.     ======
      "3 syncs represent the trinity - init, the child and the
           eternal zombie process."  -- Jordan Hubbard

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806161447.KAA10460>