Date: Sun, 6 Mar 2005 16:28:11 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Mathew Kanner <mat@cnd.mcgill.ca> Cc: freebsd-multimedia@freebsd.org Subject: Re: uaudio patch, configurable buffer size Message-ID: <20050306162811.694d9c82@Magellan.Leidinger.net> In-Reply-To: <20050305224005.GC4237@cnd.mcgill.ca> References: <20050305224005.GC4237@cnd.mcgill.ca>
index | next in thread | previous in thread | raw e-mail
On Sat, 5 Mar 2005 17:40:05 -0500 Mathew Kanner <mat@cnd.mcgill.ca> wrote: > Hi All, > I couldn't use my usb device because the default buffer size > (16*1024 bytes) was too much to be allocated (dma changes that > happened a while ago). The following is a patch to make it a tunable: > > http://www.cnd.mcgill.ca/~mat/uaudio-HEAD-buffersize-tunable.diff.gz There's an open PR about it. It changes the buffer size. AFAIR it also talks about changing the value of a parameter to a busdma call instead. I've patched the busdma call and now the device is detected here (but I don't hear any output...). I think you should add another set of validation code: The buffer size is divided by 2 in the code, so I think it should at least print a warning if "buffsize % 2 != 0". > Would love to hear if this works for anybody else, I haven't tried it yet, maybe I get time to test it in the next days. Can you also please have a look at PR usb/78028? It adds some info to /dev/sndstat. Bye, Alexander. -- To boldly go where I surely don't belong. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050306162811.694d9c82>
