*BSD News Article 76029


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!iafrica.com!uct.ac.za!quagga.ru.ac.za!howland.erols.net!spool.mu.edu!usenet.eel.ufl.edu!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Using pca device?
Date: 12 Aug 1996 22:09:22 GMT
Organization: Private BSD site, Dresden
Lines: 19
Message-ID: <4uoa2i$uo@uriah.heep.sax.de>
References: <4ugl3k$ae@walt.ee.pdx.edu> <4ui8el$1k5@uriah.heep.sax.de>
  <4une3p$icr@walt.ee.pdx.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

daver@sirius.cs.pdx.edu (Dave Roethig) wrote:

> I compiled a new kernel and it will play a .au file.
> 
> Is there a way to change the volume??

Not really, even though there's an ioctl to do it.  Don't forget, all
this is brought to you by a simple on-off speaker, no variable
resistors etc.  Actually, it's a square-wave generator followed by a
simple gate to turn it off entirely, but there are still only two
voltage values that will ever reach the speaker.  Everything else is
achieved using pulse width modulation.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)