Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Daniel Svensson <nano@nittionio.nu>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: snd-emu10k1x samplerate capabilities
Date: Wed, 29 Dec 2004 14:10:33 +0100	[thread overview]
Message-ID: <s5h3bxpjlme.wl@alsa2.suse.de> (raw)
In-Reply-To: <0F97F0E8-5998-11D9-9928-000D93353726@nittionio.nu>

At Wed, 29 Dec 2004 13:49:21 +0100,
Daniel Svensson wrote:
> 
> 
> On 2004-12-29, at 13.16, Takashi Iwai wrote:
> 
> > At Mon, 27 Dec 2004 20:47:58 +0000,
> > Daniel Svensson wrote:
> >>
> >> 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.
> >
> > I still don't find out the bug in emu10k1x.c.
> > Which version?  Which PCM name did you use?
>   Well, I used latest from CVS the 29:th of december. This problem 
> existed 6 months ago but of some reason I didn't repport it then.
> I'm not very familiar with alsas huge codebase so I haven't had a look 
> at it.

OK the version look fairly new.

Could you check /proc/asound/card0/pcm0p/sub0/hw_params (and other
files there) during playback?  This will show the real setting
currently running.  If it shows 44.1kHz, there must be a bug in the
driver side...


Takashi


-------------------------------------------------------
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-29 13:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-27 20:47 snd-emu10k1x samplerate capabilities Daniel Svensson
2004-12-29 12:16 ` Takashi Iwai
2004-12-29 12:49   ` Daniel Svensson
2004-12-29 13:10     ` Takashi Iwai [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=s5h3bxpjlme.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=nano@nittionio.nu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox