From owner-freebsd-multimedia@FreeBSD.ORG Mon Jun 13 12:52:14 2005 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 3EBB316A41C for ; Mon, 13 Jun 2005 12:52:14 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from torrent.cc.mcgill.ca (torrent.CC.McGill.CA [132.206.27.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id D52A743D4C for ; Mon, 13 Jun 2005 12:52:13 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan5.CC.McGill.CA (mailscan5.CC.McGill.CA [132.216.77.252]) by torrent.cc.mcgill.ca (8.12.11/8.12.3) with ESMTP id j5DCqB1M025994; Mon, 13 Jun 2005 08:52:12 -0400 Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) by mailscan5.CC.McGill.CA (8.12.11/8.12.11) with ESMTP id j5DCp6OP004260; Mon, 13 Jun 2005 08:51:06 -0400 Received: from localhost.localdomain (hyper.cnd.mcgill.ca [132.216.11.150]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j5DCpRQv030697; Mon, 13 Jun 2005 08:51:27 -0400 Received: from localhost.localdomain (hyper [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j5DCpQQ8032758; Mon, 13 Jun 2005 08:51:26 -0400 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j5DCpPK3032757; Mon, 13 Jun 2005 08:51:25 -0400 Date: Mon, 13 Jun 2005 08:51:25 -0400 From: Mathew Kanner To: Ariff Abdullah Message-ID: <20050613125125.GB2710@cnd.mcgill.ca> References: <20050612001221.6824b42b.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050612001221.6824b42b.skywizard@MyBSD.org.my> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA Cc: freebsd-multimedia@freebsd.org, mat@cnd.mcgill.ca Subject: Re: New pcm feeder_rate implementation 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: Mon, 13 Jun 2005 12:52:14 -0000 On Jun 11, Ariff Abdullah wrote: > Alright folks, here is the new, or should I say *much* improved > feeder_rate implementation. This new implementation try to address > what the older one failed to do: *insane* / wide range rates support > so you can play your super-ridiculous 1024000Hz ultrasonic mosquito > repeller files *on the fly* without having to resample just to satisfy > 4000 - 48000hz limit. The code also much shorter / cleaner, still > preserving good old bits from Orion's implementation. The file is > designed to be a drop in replacement for RELENG_5 / HEAD and you can > get it at: > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ > > feeder_rate.c : mandatory > vchan.c : mandatory for those having fixed rate AC97 soundcard, > or simply want to liberate themselves from 44100 vchan > limit. > > Enjoy your ultra-insane sound, something like mplayer -af > resample=1024000:0:2 should do that. > > As usual, feedback / comments are welcomed. This is awesome. We were just discussing proposal on the developers list and I was hot for a mixer replacement. Anyway, I'm tied up for the next few days with work. I'll take a look and test over the week and we'll try to get this in on the weekend. I hope other people on the list will also test and respond with their results. --Mat