From owner-freebsd-multimedia@FreeBSD.ORG Wed Feb 28 16:36:43 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CAF2716A400 for ; Wed, 28 Feb 2007 16:36:43 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 6A95513C442 for ; Wed, 28 Feb 2007 16:36:43 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.48] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe04.swip.net (CommuniGate Pro SMTP 5.0.12) with ESMTPA id 424593924 for freebsd-multimedia@freebsd.org; Wed, 28 Feb 2007 16:36:31 +0100 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Wed, 28 Feb 2007 16:36:10 +0100 User-Agent: KMail/1.9.5 References: <20070228121711.23053ce3@localhost> <20070228213151.78026e1c@prophet.alphaque.com> <20070228061445.B13932@xorpc.icir.org> In-Reply-To: <20070228061445.B13932@xorpc.icir.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702281636.10472.hselasky@c2i.net> Subject: Re: Intel High Definition Audio + Skype - echoing 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: Wed, 28 Feb 2007 16:36:43 -0000 Hi, I have some opinions about echo cancelling: 1) Echo cancelling should be part of the kernel. 2) Extremely low sound latency causes the echo canceller to use more CPU! Something in the range of 25-50ms is Ok. This is because an efficient echo canceller process samples in blocks instead of sample by sample. Here is the old sample by sample echo canceller that I use with ISDN telephony: http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/i4b/layer1/i4b_echo_cancel.c I'm currently working on a new and block based one that will be more efficient. --HPS