Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2001 21:52:24 +0100
From:      Andreas Ntaflos <ntaflos.andreas@gmx.net>
To:        questions@freebsd.org
Cc:        stable@freebsd.org
Subject:   /dev/dsp problems with "play" (usr/ports/audio/play), but not with wavplay (usr/ports/audio/wavplay)
Message-ID:  <20010225215224.A14682@Bender.ANT>

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

I've got a weird little problem... trying to play wavefiles via 
'play' (usr/ports/audio/play) results in the following (SB Live):

play: /dev/dsp: Invalid argument

here is what exists in /dev:

ls -laF dsp*

lrwxrwxrwx  1 root  wheel         4 Feb 24 13:27 dsp@ -> dsp0
crw-rw-rw-  1 root  wheel   30,   3 Feb 25 20:45 dsp0
crw-rw-rw-  1 root  wheel   30,  19 Feb 24 13:26 dsp1
lrwxrwxrwx  1 root  wheel         5 Feb 24 13:27 dspW@ -> dspW0
crw-rw-rw-  1 root  wheel   30,   5 Feb 24 13:27 dspW0
crw-rw-rw-  1 root  wheel   30,  21 Feb 24 13:26 dspW1

attempting to play the same wavefile with 'wavplay' (usr/ports/audio/wavplay)
works just fine.

I have the pcm audio driver:
cat /dev/sndstat:
FreeBSD Audio Driver (newpcm) Feb 17 2001 01:08:50
Installed devices:
pcm0: <Creative EMU10K1> at io 0x9800 irq 9 (4p/3r channels duplex)

so what the hell is it with /dev/dsp?
MAKEDEV dsp0 doesn't work, as it gets created with MAKEDEV snd0.

so what is the problem with dsp? anyone knows?

there was a similar topic a few days ago, but it said that using /dev/dsp1 
solves the problems. It does not for me.

any help welcome.
-- 
regards
	Andreas Ntaflos		
	ntaflos.andreas@gmx.net

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




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