[alsa-devel] PROBLEM: SIS7019 stops recording after 42 min

Hans Schou linux at schou.dk
Wed Jun 23 20:22:56 CEST 2010


2010/6/23 David Dillow <dave at thedillows.org>:

> I can reproduce the alternating pattern of periods using a different
> device, so this may be something in the core code of ALSA.

Strange? The program I am actually using is one I have written myself.
I was sure I was using the old method as I open(2). In my program I
use
   int fd = open("/dev/dsp",  O_RDWR);

This should not go through ALSA (I think). I gues one should use
something with "snd_pcm_open()" to use ALSA.

> Since this problem is not related to the SiS7019 driver, I'll leave it
> to later -- or for others to investigate. Using three periods per buffer
> sees a similar pattern, but one has an extra period time to work
> within.

I really don't understand why I do not see this problem on other
hardware using the same compiled code.

If the problem is ALSA, how can I then turn it off?

Thanks for your investigation.

regards/hans


More information about the Alsa-devel mailing list