From owner-freebsd-multimedia@FreeBSD.ORG Sat Jan 27 15:28:54 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 39CCD16A401 for ; Sat, 27 Jan 2007 15:28:54 +0000 (UTC) (envelope-from kosio.dimitrov@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id C0F6813C4BD for ; Sat, 27 Jan 2007 15:28:53 +0000 (UTC) (envelope-from kosio.dimitrov@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so1416236nfc for ; Sat, 27 Jan 2007 07:28:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G5xU6IlrG8sCghnDz1CEiUK44Dz3kFIAAKRZDwxYA9FaUr0XpsuY/hw8mLE9FsOg5r0EN4TQbwf3n7GbgOMM1YvAXh2DDhZqHOm2W/kIqsW53TGscNVAsSEpbJZ9BWSDQNCEt/M1DI+HjxC3BClDikdZNsXiiHauJZ6opnSLVjk= Received: by 10.82.120.14 with SMTP id s14mr2545791buc.1169911731418; Sat, 27 Jan 2007 07:28:51 -0800 (PST) Received: by 10.82.100.19 with HTTP; Sat, 27 Jan 2007 07:28:51 -0800 (PST) Message-ID: <8103ad500701270728k1d04eb13jcfb9b4bf09304ae2@mail.gmail.com> Date: Sat, 27 Jan 2007 17:28:51 +0200 From: "Konstantin Dimitrov" To: "Stefan Ehmann" In-Reply-To: <200701271100.45089.shoesoft@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200701250027.02015.shoesoft@gmx.net> <200701271100.45089.shoesoft@gmx.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: envy24 sound quality problem 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: Sat, 27 Jan 2007 15:28:54 -0000 "spicds_setdvc(ptr->info, 0);" turns on the AK452X De-emphasis filter for 44.1KHz, which is very very wrong, so "spicds_setdvc(ptr->info, AK452X_DVC_DEMOFF);" is completely right and without active AK452X De-emphasis filter the high-frequencies will be present and the problem is fixed. thank you, Stefan, well done! i also made the necessary change to the current code here: http://envy24.svobodno.com/driver/envy24/current/ On 1/27/07, Stefan Ehmann wrote: > On Thursday 25 January 2007 00:27, Stefan Ehmann wrote: > > Looks like I've been praising the snd_envy24 driver too much last week. > > Today I've noticed a very strange problem. > > > > Compared to the opensound.com (and winxp) drivers, the fbsd drivers sound > > less bright. > > I will do some more tests to see if sound really is okay now. But this seems > to fix it: > > --- envy24.c.orig Sat Jan 27 10:55:06 2007 > +++ envy24.c Sat Jan 27 10:54:24 2007 > @@ -857,7 +857,7 @@ > spicds_setcif(ptr->info, ptr->parent->cfg->cif); > spicds_setformat(ptr->info, > AK452X_FORMAT_I2S | AK452X_FORMAT_256FSN | AK452X_FORMAT_1X); > - spicds_setdvc(ptr->info, 0); > + spicds_setdvc(ptr->info, AK452X_DVC_DEMOFF); > /* for the time being, init only first codec */ > if (ptr->num == 0) > spicds_init(ptr->info); >