Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2007 17:28:51 +0200
From:      "Konstantin Dimitrov" <kosio.dimitrov@gmail.com>
To:        "Stefan Ehmann" <shoesoft@gmx.net>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: envy24 sound quality problem
Message-ID:  <8103ad500701270728k1d04eb13jcfb9b4bf09304ae2@mail.gmail.com>
In-Reply-To: <200701271100.45089.shoesoft@gmx.net>
References:  <200701250027.02015.shoesoft@gmx.net> <200701271100.45089.shoesoft@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"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 <shoesoft@gmx.net> 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);
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8103ad500701270728k1d04eb13jcfb9b4bf09304ae2>