From owner-freebsd-multimedia@FreeBSD.ORG Wed Dec 10 14:34:46 2003 Return-Path: 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 B2E9816A4CE for ; Wed, 10 Dec 2003 14:34:46 -0800 (PST) Received: from mailgate.rz.uni-karlsruhe.de (mailgate.rz.uni-karlsruhe.de [129.13.64.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09C1943D31 for ; Wed, 10 Dec 2003 14:34:43 -0800 (PST) (envelope-from riggs@o503.hadiko.de) Received: from o503.hadiko.de (hadio503.hadiko.uni-karlsruhe.de [172.20.45.138]) by mailgate.rz.uni-karlsruhe.de with esmtp (Exim 3.36 #1) id 1AUCun-00024F-00; Wed, 10 Dec 2003 23:34:41 +0100 Received: from o503.hadiko.de (RIXT@localhost [127.0.0.1]) by o503.hadiko.de (8.12.9p1/8.12.9) with ESMTP id hBAMYehd088971; Wed, 10 Dec 2003 23:34:41 +0100 (CET) (envelope-from riggs@o503.hadiko.de) Received: (from riggs@localhost) by o503.hadiko.de (8.12.9p1/8.12.9/Submit) id hBAMYedQ088970; Wed, 10 Dec 2003 23:34:40 +0100 (CET) (envelope-from riggs) Date: Wed, 10 Dec 2003 23:34:40 +0100 From: "Thomas E. Zander" To: Michael Nottebrock Message-ID: <20031210223440.GB87860@o503.hadiko.de> References: <200312102221.03613.michaelnottebrock@gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <200312102221.03613.michaelnottebrock@gmx.net> Organization: RiggiServ - Ihr Partner =?iso-8859-15?Q?f?= =?iso-8859-15?Q?=FCr?= alles Delikate X-PGP-KeyID: 0xC85996CD X-PGP-URI: http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xC85996CD X-PGP-Fingerprint: 4F59 75B4 4CE3 3B00 BC61 5400 8DD4 8929 C859 96CD X-Mailer: Riggisoft Ausguck Eggsbress (Build 1071093952) X-Operating-System: Riggiland BSD 5.1-RELEASE-p11 (To serve and protect.) cc: multimedia@freebsd.org Subject: Re: Problem with snd_ich and vchans X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2003 22:34:46 -0000 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Wed, 10. Dec 2003, at 22:20 +0100, Michael Nottebrock wrote according to [Problem with snd_ich and vchans]: > Now when I enable vchans, sound plays back to slowly (pitched down), fidd= ling=20 > with above sysctl doesn't have any effect. I found the following in vchan= =2Ec: > > [...] > > When I change the 44100 to 48000 there, sound plays back normally with vc= hans=20 > enabled. I think vchans and AC97 is an ugly trap. The main problem is the crappy definition of the AC97 standard. It's intended to run on 48kHz only which forces software resampling for many sources. Because of this some vendors produce codecs which run internally on 44.1kHz and try to resample any incoming source, and some don't. Thus, it would be necessary to have a table for every AC97 codec to determine which is its default base frequency in order to set it correctly. For example, the AC97 codec on my mobo does this default resampling to 44.1kHz, so if you have vchans enabled and you want to play a 48kHz source like DVD it sounds like framedroppings. Luckily, mplayer can resample :-) Yes, it's time to create a *good* successor of the AC97 standard, but until it arrives, we have to live with some unfortunate cheats. Riggs --=20 - "[...] I talked to the computer at great length and -- explained my view of the Universe to it" said Marvin. --- And what happened?" pressed Ford. ---- "It committed suicide." said Marvin. --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQE/15+AjdSJKchZls0RAgBcAJ4jnFxZzs/tZbTtFLXzICdXdbA10ACfWXqn j4taAtBQIYvZKGKzfqq4Ros= =kr9e -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu--