Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Kai Vehmanen <kai.vehmanen@wakkanet.fi>
Cc: Jaroslav Kysela <perex@suse.cz>, alsa-devel@lists.sourceforge.net
Subject: Re: problems with intel8x0 and 1.0.0pre3 (was: Re: [ANN] ALSA 1.0.0pre1 is released)
Date: Thu, 27 Nov 2003 17:23:43 +0100	[thread overview]
Message-ID: <s5hd6bddblc.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0311271804180.15840-100000@ecabase.localdomain>

At Thu, 27 Nov 2003 18:16:05 +0200 (EET),
Kai Vehmanen wrote:
> 
> On Wed, 26 Nov 2003, Takashi Iwai wrote:
> 
> >> On the same machine, alsa-driver-0.9.8 works fine, but not with 1.0.0pre1 
> >> and 1.0.0pre3.
> > what do you mean exactly "don't work" in the above?
> > the operation is blocked, or returns an error?
> > if it's blocked, check /proc/asound/card0/pcm0*/sub0/* files.
> 
> I think I found the problem. In 1.0.0preX, the supported sampling rate 
> is limited to 48000Hz and this causes all kinds of problems if running 
> with lower rates (I've mostly tested running at 8000Hz) - i.e. when
> using alsa-lib for sr-conversion.
> 
> With 1.0.0pre3, for example "arecord -r 8000 - |aplay -r 8000 -" produces 
> constant xruns. A similar app that relies on poll()/select(), fails even 
> more severely. When looking at... 
> 
>   /proc/asound/card0/pcm0p/sub0/hw_params and
>   /proc/asound/card0/pcm0c/sub0/hw_params 
> 
> .. the rate is locked to 48000 with 1.0.0pre3. On the same machine with
> 0.9.8, the hw-rate is 8000. I've used the 'default' PCM device in all my
> tests.
> 
> > does this laptop have multiple codecs?  you can find them in
> > /proc/asound/card0/codec97#* directories.
> 
> Nopes, '/proc/asound/card0/codec97#0/ac97#0-0' is the only one,

ok, then the problem is not the multiple codec but the detection of
available sample rates...


Takashi

> and contains:
> --cut--
> 0-0/0: Cirrus Logic CS4299 rev 6
> 
> Capabilities     : -headphone out-
> DAC resolution   : 20-bit
> ADC resolution   : 18-bit
> 3D enhancement   : Crystal Semi 3D Stereo Enhancement
> 
> Current setup
> Mic gain         : +0dB [+0dB]
> POP path         : pre 3D
> Sim. stereo      : off
> 3D enhancement   : off
> Loudness         : off
> Mono output      : MIX
> Mic select       : Mic1
> ADC/DAC loopback : off
> Extended ID      : codec=0 rev=0 AMAP DSA=0 VRA
> Extended status  : VRA
> PCM front DAC    : 48000Hz
> PCM ADC          : 48000Hz
> SPDIF Control    : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
> --cut--
> 
> -- 
>  http://www.eca.cx
>  Audio software for Linux!
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

  reply	other threads:[~2003-11-27 16:23 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-19 15:46 [ANN] ALSA 1.0.0pre1 is released Takashi Iwai
2003-11-19 22:39 ` Paul Hanly (Hotmail)
2003-11-20  9:49   ` Takashi Iwai
2003-11-20  1:30 ` Fernando Pablo Lopez-Lezcano
2003-11-20  7:44   ` ALSA 1.0.0pre1 is released - intel8x0 is oopsing (2.6) R CHAN
2003-11-20 15:33     ` Takashi Iwai
2003-11-21  2:50     ` Re: ALSA 1.0.0pre1 is released - intel8x0 is oopsing (2.6) - FIXED! R CHAN
2003-11-20  9:53   ` [ANN] ALSA 1.0.0pre1 is released Takashi Iwai
2003-11-20 10:01 ` 1.0.0pre1 / ice1712 / mplayer-oss-delay Steffen Sauder
2003-11-20 11:08   ` Takashi Iwai
2003-11-20 16:47 ` [ANN] ALSA 1.0.0pre1 is released Takashi Iwai
2003-11-20 18:30 ` Dave Neuer
2003-11-20 18:45   ` [Alsa-user] " Takashi Iwai
2003-11-26 17:31 ` Kai Vehmanen
2003-11-26 17:37   ` Takashi Iwai
2003-11-26 17:45     ` Kai Vehmanen
2003-11-27 16:16     ` problems with intel8x0 and 1.0.0pre3 (was: Re: [ANN] ALSA 1.0.0pre1 is released) Kai Vehmanen
2003-11-27 16:23       ` Takashi Iwai [this message]
2003-11-27 18:08         ` Takashi Iwai
2003-11-28 14:06           ` Kai Vehmanen
2003-12-01 17:44       ` problems with intel8x0 and 1.0.0pre3 Kai Vehmanen

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=s5hd6bddblc.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=kai.vehmanen@wakkanet.fi \
    --cc=perex@suse.cz \
    /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