uaudio patch, configurable buffer size

Pyun YongHyeon yongari at kt-is.co.kr
Mon Mar 7 03:04:25 GMT 2005


On Sun, Mar 06, 2005 at 06:44:16PM +0100, Alexander Leidinger wrote:
 > 
 > So either we need a format converter in the kernel (looks ugly to me, it
 > belongs IMHO into the userland, but NetBSD seems to have this
 > possibility in the kernel), or we need to reject incompatible use.
 > 

AFAIK, we already have format converter in kernel.
See feeder_fmt.c. The converter detects differences between hardware
capabilities and audio samples and automatically converts it(e.g.
big endian <->little endian, mono <-> stereo, signed <-> unsigned,
ulaw<->alow etc).
-- 
Regards,
Pyun YongHyeon
http://www.kr.freebsd.org/~yongari	|	yongari at freebsd.org


More information about the freebsd-multimedia mailing list