cvs commit: src/sys/dev/speaker spkr.c

Brian Somers brian at FreeBSD.org
Mon Jun 4 09:06:36 UTC 2007


On Mon, 4 Jun 2007 09:49:12 +0100 David Malone <dwmalone at maths.tcd.ie> wrote:
> On Mon, Jun 04, 2007 at 08:33:18AM +0000, Brian Somers wrote:
> > brian       2007-06-04 08:33:18 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     sys/dev/speaker      spkr.c 
> >   Log:
> >   Speaker durations are specified in 1/100ths of a second according to
> >   spkr(4).
> 
> I wasn't sure that the patch in the PR was completly correct, because
> the tone and reset functions seem to be called from a few places,
> some of which already factor in hz (playtone() does calculations
> with "whole" which factors in hz) and some of which don't (spkrioctl,
> which the PR referrs to).
> 
> 	David.

You're probably right - changing hz to '100' where 'whole'
is set may be required.  I'm just looking at testing some
tempo and playtone() settings now...  BRB.

-- 
Brian Somers                                          <brian at Awfulhak.org>
Don't _EVER_ lose your sense of humour !               <brian at FreeBSD.org>


More information about the cvs-src mailing list