From owner-freebsd-hackers@FreeBSD.ORG Sat Sep 9 14:43:26 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A00516A407; Sat, 9 Sep 2006 14:43:26 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95DF843D46; Sat, 9 Sep 2006 14:43:25 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5EA70.dip.t-dialin.net [84.165.234.112]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k89EM7qY072470; Sat, 9 Sep 2006 16:22:07 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k89EhInj056648; Sat, 9 Sep 2006 16:43:19 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sat, 9 Sep 2006 16:43:36 +0200 From: Alexander Leidinger To: Kazuhito HONDA Message-ID: <20060909164336.7b2b8071@Magellan.Leidinger.net> In-Reply-To: <20060909.112721.343191496.kazuhito@ph.noda.tus.ac.jp> References: <20060907113820.GO22564@hoeg.nl> <20060907142744.aazrsemxkwcok40w@webmail.leidinger.net> <20060909.112721.343191496.kazuhito@ph.noda.tus.ac.jp> X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new X-Mailman-Approved-At: Sat, 09 Sep 2006 16:01:00 +0000 Cc: freebsd-hackers@FreeBSD.org, ed@fxq.nl, multimedia@FreeBSD.org Subject: Re: Oddity in snd_uaudio(4) driver? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2006 14:43:26 -0000 Quoting Kazuhito HONDA (Sat, 09 Sep 2006 11:27:21 +0900 (JST)): > Hello, > > The subject of my previous mail includes `***SPAM***'. > My spam filter struck this tag. > I'll resend this mail since none read my previous mail. Oh... I did read it. :-) > > Quoting Ed Schouten (from Thu, 7 Sep 2006 13:38:20 +0200): > > > > > > If we would rewrite this code to something more basic, let's say we > > > rename 'speed' to 'x' and the UA_SAMP_ macros to some predefined > > > variables: > > > > > > | if (x >= 10 && x <= 20) { > > > | ... > > > | } else if (x < 10) { > > > | ... > > > | } else if (x < 20) { > > > | ... > > > | } > > > > > In this example, UA_SAMP_ macros are exchanged to some constants. > But UA_SAMP_ macros don't have any predefined constants. He only simplified this to make it more easy to read. He didn't intended to change it this way. > From: Alexander Leidinger > Subject: Re: Oddity in snd_uaudio(4) driver? > Date: Thu, 07 Sep 2006 14:27:44 +0200 > > > I assume the last part is a > > typo in the uaudio code and should be a '>' instead of a '<': > > That's right. Fix committed. Bye, Alexander. -- Famous Original Ray's Superior Court http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137