*BSD News Article 49798


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!sundog.tiac.net!tiac.net!jtk
From: jtk@tiac.net (John Kohl)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: What sound cards and file formats does NetBSD/i386 support?
Date: 25 Aug 1995 00:06:24 GMT
Organization: NetBSD Kernel Hackers `R` Us
Lines: 23
Message-ID: <41j461$kt4@sundog.tiac.net>
References: <41gn1b$bin@agate.berkeley.edu>
NNTP-Posting-Host: jtk.tiac.net
In-reply-to: benco@ucsee.EECS.Berkeley.EDU's message of 24 Aug 1995 02:09:47 GMT

>>>>> "Ben" == Ben Cottrell <benco@ucsee.EECS.Berkeley.EDU> writes:
In article <41gn1b$bin@agate.berkeley.edu> benco@ucsee.EECS.Berkeley.EDU (Ben Cottrell) writes:

Ben> First question: If I cat something to /dev/audio, what file formats
Ben> can it be in? Are AIFF, AIFC, and .au supported? How about .au files
Ben> at sampling rates other than 8 KHz?

/dev/audio wants 8kHz 8-bit mu-law format monophonic data.
/dev/sound can take whatever the driver can handle, once you set it up
with a program which makes ioctl() calls.

Ben> does
Ben> this driver also support cards that use the SoundBlaster interface,
Ben> but are 16 bit, 44.1 KHz, stereo? I was thinking in particular of the
Ben> Gravis UltraSound card...

NetBSD-current/i386 does support the Gravis UltraSound (which, by the
way, does not support the SoundBlaster interfaces in hardware--they do
it on DOS with software drivers), and you can send 44.1kHz stereo 16-bit
data out it, although sometimes the audio gets a bit "fuzzy" for some
reason I've not debugged yet.
-- 
John Kohl <jtk@tiac.net> or <jtk@kolvir.arlington.ma.us>