Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Nov 2002 20:59:11 +0000
From:      Andrew Boothman <andrew@cream.org>
To:        "Ronald F. Guilmette" <rfg@monkeys.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Novice question about testing sound cards
Message-ID:  <3DC6DF9F.3010307@cream.org>
References:  <31290.1036402761@monkeys.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ronald F. Guilmette wrote:
>>Also, try doing 'cat /dev/sndstat' to make sure that pcm really does 
>>understand your card.
> 
> 
> OK, did that, and I get:
> 
> FreeBSD Audio Driver (newpcm)
> Installed Devices:
> pcm0: <SB16 DSP 4.13> at io 0x220 irq 5 drq 1:5 bufsz 4096d (1p/1r/0v channels duplex)
> 
> Does that all seem OK?

Absolutely.

>>I'm not totally sure about this, but I think that you can dump audio 
>>file in the 'au' format directly to devices. A test au format file can 
>>be found on http://www.cti.ecp.fr/documents/a_sound.au (This was linked 
>>to from http://www.cti.ecp.fr/documents/tests/au.html which you might 
>>also find useful).
> 
> 
> OK, I'm willing to give that a try, but what device should I can the .au
> file to?  Do I cat to /dev/dsp0 ?

Yes, give it a try. As I mentioned above, if you have MP3 files then try 
using a command-line mp3 decoder as well. They also use the /dev/dsp 
entries.

Andrew.


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




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