envy24 sound quality problem

Konstantin Dimitrov kosio.dimitrov at gmail.com
Sat Jan 27 15:28:54 UTC 2007


"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 at 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);
>


More information about the freebsd-multimedia mailing list