Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Mar 2005 17:40:05 -0500
From:      Mathew Kanner <mat@cnd.mcgill.ca>
To:        freebsd-multimedia@freebsd.org
Subject:   uaudio patch, configurable buffer size
Message-ID:  <20050305224005.GC4237@cnd.mcgill.ca>

next in thread | raw e-mail | index | archive | help
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

	This is not for RELENG_5.  If you want it there, you'll have
to catch-up with the work the Julian did in December first:

http://www.cnd.mcgill.ca/~mat/usb-RELENG5-to-HEAD-Mar05-2005.diff.gz

	For both patches you'll have to:

cd /usr/src
patch < /path/to/unzipped.diff

	And then rebuild your snd_uaudio modules

cd  cd /usr/src/sys/modules/sound/driver/uaudio/
make
make install

	Would love to hear if this works for anybody else,
	--Mat


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050305224005.GC4237>