summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoel <joel@FreeBSD.org>2007-05-19 11:06:43 +0000
committerjoel <joel@FreeBSD.org>2007-05-19 11:06:43 +0000
commit45cd2b13aabd0f774f8fa99cb02e62ad8446a89a (patch)
treece0fe1c61f6ee02d7b7f1a76e3944cdd3a25f761
parente62bc55d9bae625a6f7ae2ce0b03daf0e9df1cb1 (diff)
downloadFreeBSD-src-45cd2b13aabd0f774f8fa99cb02e62ad8446a89a.zip
FreeBSD-src-45cd2b13aabd0f774f8fa99cb02e62ad8446a89a.tar.gz
Turn off the AK452X De-emphasis filter for 44.1KHz. This should fix some
sound quality problems. PR: kern/112688 Submitted by: Stefan Ehmann <shoesoft@gmx.net> Reviewed by: Konstantin Dimitrov <kosio.dimitrov@gmail.com> Approved by: ariff
-rw-r--r--sys/dev/sound/pci/envy24.c2
-rw-r--r--sys/dev/sound/pci/envy24ht.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/pci/envy24.c b/sys/dev/sound/pci/envy24.c
index e1cd498..9344231 100644
--- a/sys/dev/sound/pci/envy24.c
+++ b/sys/dev/sound/pci/envy24.c
@@ -859,7 +859,7 @@ envy24_delta_ak4524_init(void *codec)
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);
diff --git a/sys/dev/sound/pci/envy24ht.c b/sys/dev/sound/pci/envy24ht.c
index 76d96f5..bcd463e 100644
--- a/sys/dev/sound/pci/envy24ht.c
+++ b/sys/dev/sound/pci/envy24ht.c
@@ -932,7 +932,7 @@ envy24ht_spi_init(void *codec)
ptr->parent->cfg->type == SPICDS_TYPE_AK4528) {
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 */
OpenPOWER on IntegriCloud