From: David Dillow <dave@thedillows.org>
To: linux@schou.dk
Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org
Subject: Re: PROBLEM: SIS7019 stops recording after 42 min
Date: Wed, 23 Jun 2010 16:42:12 -0400 [thread overview]
Message-ID: <1277325732.2521.55.camel@lap75545.ornl.gov> (raw)
In-Reply-To: <AANLkTiln40Xo3fHbMSkEvdBUtFq8ZWrF57wgRWdU2Juc@mail.gmail.com>
On Wed, 2010-06-23 at 20:22 +0200, Hans Schou wrote:
> 2010/6/23 David Dillow <dave@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.
To use ALSA directly, yes. However, there is no OSS SIS7019 driver in
the kernel, only the ALSA one I wrote. There is an OSS emulation layer,
so you can use the OSS API to talk to the ALSA core. Unless you are
using a vendor (SIS/MicroJr/etc.) supplied driver, you are using ALSA in
some capacity.
> > 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.
You mean the 10 second pauses during recording after 42 minutes? That is
a driver bug, so it is specific to this card.
If you mean the alternating long/sort period times, then it is present
on other hardware, but you likely don't see it either due to the
defaults giving you more periods to work in so you don't see overruns,
faster hardware than the SIS550 CPU, or a combination of the two. The
bug that gives rise to the 10 second pauses can also shorten the periods
I think, making overruns more likely to occur.
Dave
next prev parent reply other threads:[~2010-06-23 21:00 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-19 14:13 Hans Schou
2010-06-19 18:31 ` David Dillow
2010-06-20 6:20 ` Hans Schou
2010-06-20 14:26 ` David Dillow
2010-06-21 5:56 ` Hans Schou
2010-06-21 14:06 ` David Dillow
2010-06-21 17:42 ` Hans Schou
2010-06-21 18:49 ` Hans Schou
2010-06-21 19:06 ` David Dillow
2010-06-21 20:10 ` Hans Schou
2010-06-23 3:00 ` David Dillow
2010-06-23 5:36 ` David Dillow
2010-06-23 18:22 ` Hans Schou
2010-06-23 18:26 ` Hans Schou
2010-06-23 20:42 ` David Dillow [this message]
2010-06-24 8:08 ` [alsa-devel] " Hans Schou
2010-06-21 18:50 ` David Dillow
2010-06-21 19:04 ` [alsa-devel] " Hans Schou
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=1277325732.2521.55.camel@lap75545.ornl.gov \
--to=dave@thedillows.org \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@schou.dk \
/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
all inboxes | Powered by JetHome®