All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: whitney@math.berkeley.edu
Cc: LKML <linux-kernel@vger.kernel.org>,
	"William A. Stein" <was@math.harvard.edu>
Subject: Re: via 686a audio driver rate locked at 48Khz
Date: Wed, 28 Feb 2001 18:19:21 -0500	[thread overview]
Message-ID: <3A9D8779.BC475CFC@mandrakesoft.com> (raw)
In-Reply-To: <Pine.LNX.4.30.0102280937520.6854-100000@mf1.private>

Wayne Whitney wrote:
> I have a system with an MSI-6321 motherboard with the Via 686a
> southbridge, and I'm having a little trouble with the via82cxxx_audio
> sound driver.  The stock 2.4.2 driver produces only a rhythmic a buzzing
> sound.  I saw a patch here a week or two ago for 'rate locking', so I
> tried that (it didn't apply cleanly to 2.4.2, but I think I applied it by
> hand correctly).

FYI I sent that change to Linus just now, and posted a quick update on
the Web site:  http://sourceforge.net/projects/gkernel/

> That patch makes some things work fine (e.g. playing a .wav file), but
> others sound lousy (e.g. playing a 44.1KHz mp3 with xmms).  Am I correct
> in thinking that it sounds lousy because of the translation from 44.1KHz
> sampling to 48KHz sampling?

Probably..  If you are locked at 48 Khz, -something- has to upsample to
48 Khz if your audio samples are at a different frequency.  Of course
you might also be needing more CPU cycles or memory due to the required
upsampling.

> If so, is there any hope of supporting
> Variable Rate on this hardware?

To be honest I don't know yet.  I haven't fully assured myself that the
driver is doing things 100% correctly to set up variable rate.  There
-are- codecs locked at 48 Khz, so users with those codecs are stuck at
48 Khz..


> Below is copious debugging output, although not the output of
> via-audio-diag, as I could not find it on sourceforge (and the gtf.org URL
> is gone).

It's in the tarball in the download section of
http://sourceforge.net/projects/gkernel/

	Jeff


-- 
Jeff Garzik       | "You see, in this world there's two kinds of
Building 1024     |  people, my friend: Those with loaded guns
MandrakeSoft      |  and those who dig. You dig."  --Blondie

  reply	other threads:[~2001-02-28 23:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-28 18:31 via 686a audio driver rate locked at 48Khz Wayne Whitney
2001-02-28 23:19 ` Jeff Garzik [this message]
2001-03-02 13:25   ` Sergei Haller
2001-03-02 13:31     ` Jeff Garzik

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=3A9D8779.BC475CFC@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=was@math.harvard.edu \
    --cc=whitney@math.berkeley.edu \
    /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.