Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Mar 2005 12:04:19 +0900
From:      Pyun YongHyeon <yongari@kt-is.co.kr>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        Mathew Kanner <mat@cnd.mcgill.ca>
Subject:   Re: uaudio patch, configurable buffer size
Message-ID:  <20050307030419.GC951@kt-is.co.kr>
In-Reply-To: <20050306184416.5603976c@Magellan.Leidinger.net>
References:  <20050305224005.GC4237@cnd.mcgill.ca> <20050306162811.694d9c82@Magellan.Leidinger.net> <20050306171027.GE4237@cnd.mcgill.ca> <20050306184416.5603976c@Magellan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org



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