lkml.org 
[lkml]   [2000]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] 2.2/2.4 ESS Maestro 2E frequency fix(?)
Date
I noticed that, on my new Dell Inspiron 5000e, music just didn't *sound*
right - it sounded like it was a little bit slow. This didn't happen under
Windows, and it didn't happen with CDs either.

So, after a few minutes of hacking, I ended up with the patch at the end of
this email, which seems to fix my problem. I don't really understand the
logic behind either number, but 49152000 sure sounds a *LOT* better on my
Dell. The patch is against Red Hat's 2.2.16-22, but it should apply to any
recent 2.2 or 2.4 kernel.

I'd appreciate it if a few other people with Maestro 2E's could try my
patch and see if it makes the sound play properly or if it breaks things
and makes sound play too fast. (For the sake of completeness, the sound
files that I tested with were 44100Hz.)

-Barry K. Nathan <barryn@pobox.com>

--- drivers/sound/maestro-old.c Tue Aug 22 12:24:08 2000
+++ drivers/sound/maestro.c Tue Oct 24 01:04:52 2000
@@ -368,7 +368,7 @@
static int clock_freq[]={
[TYPE_MAESTRO] = (49152000L / 1024L),
[TYPE_MAESTRO2] = (50000000L / 1024L),
- [TYPE_MAESTRO2E] = (50000000L / 1024L)
+ [TYPE_MAESTRO2E] = (49152000L / 1024L)
};

static int maestro_notifier(struct notifier_block *nb, unsigned long event, void *buf);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.020 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site