Oddity in snd_uaudio(4) driver?

Alexander Leidinger Alexander at Leidinger.net
Sat Sep 9 07:43:26 PDT 2006


Quoting Kazuhito HONDA <kazuhito at ph.noda.tus.ac.jp> (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 <ed at fxq.nl> (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 <Alexander at Leidinger.net>
> 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


More information about the freebsd-multimedia mailing list