On Mon, 4 Jun 2007 02:06:23 -0700 Brian Somers <[EMAIL PROTECTED]> wrote: > On Mon, 4 Jun 2007 09:49:12 +0100 David Malone <[EMAIL PROTECTED]> 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.
That seems to do it: # time echo T60ABC >/dev/speaker real 0m2.999s user 0m0.000s sys 0m0.000s -- Brian Somers <[EMAIL PROTECTED]> Don't _EVER_ lose your sense of humour ! <[EMAIL PROTECTED]> _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"
