From owner-cvs-all@FreeBSD.ORG Mon Jun 4 09:28:16 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3F6916A473; Mon, 4 Jun 2007 09:28:16 +0000 (UTC) (envelope-from brian@Awfulhak.org) Received: from storm.uk.FreeBSD.org (storm.uk.FreeBSD.org [194.242.157.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5A26313C4BC; Mon, 4 Jun 2007 09:28:16 +0000 (UTC) (envelope-from brian@Awfulhak.org) Received: from store.lan.Awfulhak.org (store.lan.Awfulhak.org [172.16.0.35]) by storm.uk.FreeBSD.org (8.14.1/8.14.1) with ESMTP id l549SEde024522; Mon, 4 Jun 2007 10:28:14 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from store.lan.Awfulhak.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 773121957C76; Mon, 4 Jun 2007 09:28:10 +0000 (GMT) Received: from gw.Awfulhak.org (gw.lan.Awfulhak.org [172.16.0.1]) by store.lan.Awfulhak.org (Postfix) with ESMTP id 576A01957C61; Mon, 4 Jun 2007 09:28:02 +0000 (GMT) Received: from dev.lan.Awfulhak.org (brian@dev.lan.Awfulhak.org [172.16.0.5]) by gw.Awfulhak.org (8.14.1/8.14.1) with ESMTP id l549S1ZR011848; Mon, 4 Jun 2007 02:28:01 -0700 (PDT) (envelope-from brian@Awfulhak.org) Date: Mon, 4 Jun 2007 02:28:01 -0700 From: Brian Somers To: Brian Somers Message-ID: <20070604022801.40ab3a1b@dev.lan.Awfulhak.org> In-Reply-To: <20070604020623.49c95405@dev.lan.Awfulhak.org> References: <200706040833.l548XIVm021432@repoman.freebsd.org> <20070604084912.GA20502@walton.maths.tcd.ie> <20070604020623.49c95405@dev.lan.Awfulhak.org> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: David Malone , cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/speaker spkr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 09:28:17 -0000 On Mon, 4 Jun 2007 02:06:23 -0700 Brian Somers wrote: > On Mon, 4 Jun 2007 09:49:12 +0100 David Malone 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 Don't _EVER_ lose your sense of humour !