From owner-freebsd-multimedia@FreeBSD.ORG Sun Feb 19 06:12:39 2006 Return-Path: X-Original-To: freebsd-multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F81016A420; Sun, 19 Feb 2006 06:12:39 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from phws.ph.noda.tus.ac.jp (phws.ph.noda.tus.ac.jp [133.31.102.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE8CD43D45; Sun, 19 Feb 2006 06:12:38 +0000 (GMT) (envelope-from kazuhito@ph.noda.tus.ac.jp) Received: from localhost (unknown [133.31.111.131]) by phws.ph.noda.tus.ac.jp (Postfix) with ESMTP id 4C1556E40CB; Sun, 19 Feb 2006 15:12:37 +0900 (JST) Date: Sun, 19 Feb 2006 15:12:37 +0900 (JST) Message-Id: <20060219.151237.343189345.kazuhito@ph.noda.tus.ac.jp> To: ariff@FreeBSD.org From: Kazuhito HONDA In-Reply-To: <20060215163002.71c997ef.ariff@FreeBSD.org> References: <20051217.033715.343188712.kazuhito@ph.noda.tus.ac.jp> <20051217194604.7e6c08dd.skywizard@MyBSD.org.my> <20060215163002.71c997ef.ariff@FreeBSD.org> X-Mailer: Mew version 3.3 on XEmacs 21.5-b22 (cucumber) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@FreeBSD.org Subject: Re: patch for 24-bit soft volume and uaudio's tiny fix X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2006 06:12:39 -0000 Hello, From: Ariff Abdullah Subject: Re: patch for 24-bit soft volume and uaudio's tiny fix Date: Wed, 15 Feb 2006 16:30:02 +0800 > (Especially to Kazuhito-san), Latest patchsets (rev. 091) contain: > > 1) 16/24/32bit feeder_volume > 2) 16/24/32bit vchan mixing (default to 16, use sysctl or vchanformat > kernel hint to toggle it). > 3) Smarter (I would say *perfect*) format scoring during format > chaining. > 4) Endian/sign-free format conversion > 5) Various fixups, especially on hardware, DMA buffer alignment > 6) Samples processing are moving towards endian-safe, we just need to > enclose varios PCM_READ/WRITE/CLAMP (sound.h) within BYTE_ORDER > ifdefs. I tried to play and to record sound sources with converting between 16-bit and 24-bit each other, endian, volume and sampling rate on my USB device. It worked without a big problem. But sampling rate converter may be able to convert sampling rate for 16-bit sound stream only, so 24-bit sound stream is always down-converted to 16-bit when its sampling rate is converted. Because it is more than enough for 24-bit sound devices, a sampling rate converter for 24-bit sound stream is necessary. Sincerely yours, Kazuhito HONDA