All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Svensson <nano@nittionio.nu>
To: alsa-devel@lists.sourceforge.net
Subject: snd-emu10k1x samplerate capabilities
Date: Mon, 27 Dec 2004 20:47:58 +0000	[thread overview]
Message-ID: <1104180478.4396.5.camel@paranoia> (raw)

The snd-emu10k1x driver accepts samplerates that the hardware is not
capable of handling.

rate = 44100;
err = snd_pcm_hw_params_set_rate_near (pcm, hwparams, &rate, NULL);

err should be less than zero if the requested rate is 44100, or the rate
should be set to 48000. As it's handled now when that line is executed
the samplerate is set to 44100 and sound is broken.

-- Daniel Svensson



-------------------------------------------------------
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://productguide.itmanagersjournal.com/

             reply	other threads:[~2004-12-27 20:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-27 20:47 Daniel Svensson [this message]
2004-12-29 12:16 ` snd-emu10k1x samplerate capabilities Takashi Iwai
2004-12-29 12:49   ` Daniel Svensson
2004-12-29 13:10     ` 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=1104180478.4396.5.camel@paranoia \
    --to=nano@nittionio.nu \
    --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.