Date: Tue, 08 Mar 2005 12:14:15 +0900 (JST) From: Kazuhito HONDA <kazuhito@ph.noda.tus.ac.jp> To: yongari@kt-is.co.kr Cc: mat@cnd.mcgill.ca Subject: Re: uaudio patch, configurable buffer size Message-ID: <20050308.121415.847025091.kazuhito@ph.noda.tus.ac.jp> In-Reply-To: <20050307030419.GC951@kt-is.co.kr> References: <20050306171027.GE4237@cnd.mcgill.ca> <20050306184416.5603976c@Magellan.Leidinger.net> <20050307030419.GC951@kt-is.co.kr>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, From: Pyun YongHyeon <yongari@kt-is.co.kr> Subject: Re: uaudio patch, configurable buffer size Date: Mon, 7 Mar 2005 12:04:19 +0900 > 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). Ah, I haven't found it for a long time. I tried to change the caps in uaudio_pcm.c, and a sampling rate can be converted correctly as you wrote. I'll challenge to use this converter in uaudio, too. If I or someone will succeed in it, I'll write to PR usb/78028 that it should be closed except applied. regards, Kazuhito HONDA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050308.121415.847025091.kazuhito>