alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Stas Sergeev <stsp@aknet.ru>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: underruns and strange code in pcm_rate.c
Date: Wed, 07 Nov 2007 20:16:36 +0300	[thread overview]
Message-ID: <4731F2F4.2080704@aknet.ru> (raw)
In-Reply-To: <s5h8x5auxz3.wl%tiwai@suse.de>

[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]

Hello.

Takashi Iwai wrote:
> I don't understand your description well.  Could you give a simple
> test code to prove the bug?
No, its not like that. I am not
writing any prog. What I am trying
to point out, is that _any_ program
is affected. My whole desktop is
pretty much "speechless" these days.
Well, a few progs, like mplayer, are
unaffected (I guess they do not trust
"default" and use "hw"), but most of
anything else is broken. (and as a
most frequent test-case I use ogg123
while debugging)
Well, maybe its an asound.conf issue -
I'll attach my asound.conf... attached.
Maybe its a driver issue - I was using
snd-pcsp before and I don't remember
any problems. But now I do use snd-intel8x0,
and the results are much worse.
And this will remain so until I get an
x86_64 port of snd-pcsp, and in a mean
time I thought it would be a good idea
to get working also that. :)
Jokes aside, the difference is that
snd-intel8x0 accepts only 48000, while
snd-pcsp used to accept some other rate.

I'll answer the technical questions in
a separate e-mail. I'll try to collect
more precise info and examples.


[-- Attachment #2: asound.conf --]
[-- Type: text/plain, Size: 370 bytes --]

# Generated by system-config-soundcard, do not edit by hand
defaults.pcm.card 0 
pcm.!default {
    type plug
    slave.pcm "svol"
}

pcm.svol {
    type softvol
    slave.pcm "swmix"
    control.name "SoftVol Playback Volume"
    control.card 0
    min_dB -0.1
    max_dB 10.0
}

pcm.swmix {
    type dmix
    ipc_key 1111
    slave.pcm "hw:0,0"
    slave.rate 48000
}

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2007-11-07 17:15 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-04 23:48 underruns and strange code in pcm_rate.c (and patch) Stas Sergeev
2007-11-06 11:29 ` Takashi Iwai
2007-11-06 14:47   ` James Courtier-Dutton
2007-11-06 17:14     ` Stas Sergeev
2007-11-07 11:28       ` Takashi Iwai
2007-11-07 10:40     ` Takashi Iwai
2007-11-06 16:10   ` Stas Sergeev
2007-11-07 10:54     ` Takashi Iwai
2007-11-07 17:16       ` Stas Sergeev [this message]
2007-11-07 14:23         ` underruns and strange code in pcm_rate.c Takashi Iwai
2007-11-07 18:52           ` Stas Sergeev
2007-11-08  3:36             ` Takashi Iwai
2007-11-08  8:09               ` Stas Sergeev
2007-11-08  5:38                 ` Takashi Iwai
2007-11-08  9:05                   ` Stas Sergeev
2007-11-08  6:17                     ` Takashi Iwai
2007-11-08 18:34                       ` Stas Sergeev
2007-11-09 16:20                   ` Timur Tabi
2007-11-09 18:17                     ` Stas Sergeev
2007-11-09 19:52                       ` Timur Tabi
2007-11-09 20:00                         ` Stas Sergeev
2007-11-09 20:06                           ` Timur Tabi
2007-11-09 20:11                             ` Lee Revell
2007-11-09 20:16                               ` Timur Tabi
2007-11-09 20:30                                 ` Lee Revell
2007-11-09 20:33                                   ` Timur Tabi
2007-11-09 21:37                                     ` Lee Revell
2007-11-09 22:52                                       ` Stas Sergeev
2007-11-09 22:53                                         ` Timur Tabi
2007-11-12 12:12                     ` Clemens Ladisch
2007-11-12 15:56                       ` Timur Tabi
2008-01-31 20:49                       ` Timur Tabi
2008-02-01 12:32                         ` Takashi Iwai
2008-02-01 14:46                           ` Timur Tabi
2008-02-01 15:07                             ` Takashi Iwai
2008-02-01 15:18                               ` Timur Tabi
2008-02-01 15:27                                 ` Takashi Iwai
2008-02-01 16:00                                   ` Timur Tabi
2007-11-07 18:40       ` underruns and strange code in pcm_rate.c (and patch) Stas Sergeev
2007-11-08  4:42         ` Takashi Iwai
2007-11-08  8:27           ` Stas Sergeev
2007-11-08  5:54             ` Takashi Iwai
2007-11-08  9:13               ` Stas Sergeev
2007-11-08  6:25                 ` Takashi Iwai
2007-11-08 14:10   ` Alexander E. Patrakov
2007-11-06 13:56 ` Stas Sergeev
2007-11-08 20:06 ` Timur Tabi
2007-11-08 22:01   ` Timur Tabi

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=4731F2F4.2080704@aknet.ru \
    --to=stsp@aknet.ru \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /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;
as well as URLs for NNTP newsgroup(s).