uaudio patch, configurable buffer size

Kazuhito HONDA kazuhito at ph.noda.tus.ac.jp
Tue Mar 8 02:57:58 GMT 2005


Hi,

From: Mathew Kanner <mat at cnd.mcgill.ca>
Subject: Re: uaudio patch, configurable buffer size
Date: Sun, 6 Mar 2005 22:28:23 -0500

> 	Per your other e-mail, as present in the source, is having the
> default size of 16*1024 and doing bus_dma_tag_create with a maxsegz of
> 0x3fff (16*1024-1) a bug?

I think so.  please see PR kern/74893 and this:
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=84345+0+archive/2005/freebsd-multimedia/20050206.freebsd-multimedia

By the way, I agree with you on the tunable buffersize for USB audio.
According to my experience, however, 
if the buffer size can't be divided by 4, 
left and right channels interchange for a stereo sound source.  

Regards,
Kazuhito HONDA


More information about the freebsd-multimedia mailing list