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.

> Quoting Ed Schouten <[EMAIL PROTECTED]> (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.

uaudio.c is a general driver for USB audio devices.
Each USB audio device has peculiar sampling rates.
They are different from those of another device.
UA_SAMP_macros give the peculiar sampling rates.
They can't be exchanged to some constants.


From: Alexander Leidinger <[EMAIL PROTECTED]>
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.

Sincerely yours
Kazuhito HONDA
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to