All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Davis <paul@linuxaudiosystems.com>
To: alsa-devel@lists.sourceforge.net
Subject: alsa-lib resamping error
Date: Wed, 22 Jan 2003 12:38:31 -0500	[thread overview]
Message-ID: <200301221738.h0MHcVq22269@linuxaudiosystems.com> (raw)

if you try to play a 22.05kHz stream on hardware that supports 32kHz
and 44.1kHz but not 22.05kHz, alsa-lib's plughw layer chooses to use
32kHz and resamples. this seems like an error to me: it would be much
better to choose 44.1kHz and do simple integer resampling. that is:
the search for the best rate should first try integer multiples and
divisors of the desired rate, not the "closest" rate.

--p


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp

             reply	other threads:[~2003-01-22 17:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-22 17:38 Paul Davis [this message]
2003-01-23 16:20 ` alsa-lib resamping error Takashi Iwai
2003-01-27 11:38   ` Takashi Iwai

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=200301221738.h0MHcVq22269@linuxaudiosystems.com \
    --to=paul@linuxaudiosystems.com \
    --cc=alsa-devel@lists.sourceforge.net \
    /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.