[alsa-devel] underruns and strange code in pcm_rate.c
Takashi Iwai
tiwai at suse.de
Thu Nov 8 04:36:31 CET 2007
At Wed, 07 Nov 2007 21:52:46 +0300,
Stas Sergeev wrote:
>
> Hi.
>
> Takashi Iwai wrote:
> > Well, I'm using ogg123 with dmix but it works fine.
> > That's why I'm wondering why you got so *many* problems.
> Honestly, I don't want to search an answer
> to this. :) Now, when I have located all,
> or most of, the bugs I needed to locate,
> this question concerns me not too much. :)
I'm concerned much because I cannot reproduce the bug here (underrun)
in the practical use even with the same application and driver.
> > And, to fix the problem, a test case is always helpful.
> I don't think the (code) test-case will
> do the trick. I have "anything" as a code
> test-case, but for you that test-case doesn't
> work.
> The only remaining thing I can think of,
> is asound.conf, which you now have of mine
> and can try.
Oh a testcase is damn useful! It's far more useful than 100 words of
human texts. It's especially because we have the situation that I
cannot reproduce the bug practically but only you do. With a test
case, we both will be able to check in detail. OK?
> > Or, possibly wrapping with softvol is the problem?
> No, it is not (tried before, tried now
> once again).
> I am quite sure in that I have located
> the problem(s) correctly. So you may see
> some reluctance, but frankly, I don't
> know what kind of a test-case I can provide,
> and why. Write some prog with libao?
> But it won't be any better than ogg123...
What we need is: The simulation of libao, stripping the similar
sequence and configuration that reliablly triggers XRUN.
Note that the code in libao has been changed much from version to
version. Your system is not my system, your libao might be different
from mine, your ogg123 might be different from mine, and so on.
Takashi
More information about the Alsa-devel
mailing list