All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <icampbell@arcom.com>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: correcting incorrect ac'97 codec clock
Date: Mon, 21 Feb 2005 16:05:36 +0000	[thread overview]
Message-ID: <1109001936.3174.7.camel@icampbell-debian> (raw)
In-Reply-To: <Pine.HPX.4.33n.0502211624520.24184-100000@studcom.urz.uni-halle.de>

On Mon, 2005-02-21 at 16:26 +0100, Clemens Ladisch wrote:
> Ian Campbell wrote:
> > I am working on a piece of hardware where the AC'97 codec clock was
> > erroneously set at 24MHz instead of the correct 24.5764MHz, this causes
> > the sound to come out slightly wrong, a 1000Hz sine wave is ~977Hz or
> > so.
> >
> > We'd prefer to have the kernel correct for this error rather than
> > expecting every application to do it.
> 
> bus->clock is set to the sample rate of the AC'97 bus, and is 48000 by
> default.  Setting it to 46875 after creating the bus should help.

that looks like it'll do the trick -- cheers!

Ian.

-- 
Ian Campbell, Senior Design Engineer
                                        Web: http://www.arcom.com
Arcom, Clifton Road,                    Direct: +44 (0)1223 403 465
Cambridge CB1 7EA, United Kingdom       Phone:  +44 (0)1223 411 200


_____________________________________________________________________
The message in this transmission is sent in confidence for the attention of the addressee only and should not be disclosed to any other party. Unauthorised recipients are requested to preserve this confidentiality. Please advise the sender if the addressee is not resident at the receiving end.  Email to and from Arcom is automatically monitored for operational and lawful business reasons.

This message has been virus scanned by MessageLabs.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

      reply	other threads:[~2005-02-21 16:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-21 14:38 correcting incorrect ac'97 codec clock Ian Campbell
2005-02-21 15:26 ` Clemens Ladisch
2005-02-21 16:05   ` Ian Campbell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1109001936.3174.7.camel@icampbell-debian \
    --to=icampbell@arcom.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=clemens@ladisch.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.