From: Ed Wildgoose <lists@wildgooses.com>
To: alsa-devel@lists.sourceforge.net
Subject: Re: Problem with RME 9632 and Plug
Date: Wed, 04 Aug 2004 12:16:22 +0100 [thread overview]
Message-ID: <4110C586.3030100@wildgooses.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0408041220190.1857@pnote.perex-int.cz>
Jaroslav Kysela wrote:
>On Wed, 4 Aug 2004, Ed Wildgoose wrote:
>
>
>
>>However, 2048 samples looks to be *just* enough to make mplayer work ok,
>>but there are still some problems occuring which look like they might be
>>driver related. Main issue seems to be that the
>>"snd_pcm_status_get_avail" function only returns space in whole chunk
>>size blocks, ie with a 2048 sample long buffer, then I only get results
>>of 2048 or 0 (you never see 4096, the driver feels that this is an
>>over-run condition, which I guess is fair enough - some of the other
>>drivers, eg my RME96 PAD seem to give you that one remaining tick to try
>>and fill the buffer again before overflow...). Same thing happens in
>>mmap mode
>>
>>
>
>Set precise_ptr module option for your driver.
>
>
Hmm, well this now seems to give a more accurate space available as you
say, but it now causes buffer overruns constantly....
I can see that the docs say that this option doesnt work well of
course.. However, something looks broken here:
Here is some debug I added from the app. This is typical - notice how
despite the fact that we can see that we are being called very regularly
the final call before the overflow is quite reasonable, and yet alsa
says that an overflow occurred? Just by eye, there should be no
overflow here because we would have filled the buffer to the top only a
few thousand samples before...
alsa-space: free space = 16384, prepared --53/ 50 10% 23% 0.8% 0 0 88%
About to play: 16384 bytes, time since last called: 784.000000
About to play: 3008 bytes, time since last called: 16007.000000
About to play: 3328 bytes, time since last called: 17583.000000
About to play: 3968 bytes, time since last called: 20767.000000
About to play: 5568 bytes, time since last called: 28723.000000
About to play: 0 bytes, time since last called: 13966.000000
alsa-space: xrun of at least 2.831 msecs. resetting stream 0.8% 0 0 87%
alsa-space: free space = 0, xrun --
Any theories on why precise_ptr might be causing this?
Thanks
Ed W
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
next prev parent reply other threads:[~2004-08-04 11:16 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-03 13:46 Problem with RME 9632 and Plug Ed Wildgoose
2004-08-03 14:36 ` Paul Davis
2004-08-03 15:44 ` Ed Wildgoose
2004-08-03 16:21 ` Ed Wildgoose
2004-08-03 17:32 ` Paul Davis
2004-08-03 23:55 ` Ed Wildgoose
2004-08-04 0:18 ` Paul Davis
2004-08-04 7:39 ` Jaroslav Kysela
2004-08-04 9:35 ` Ed Wildgoose
2004-08-04 10:20 ` Jaroslav Kysela
2004-08-04 11:16 ` Ed Wildgoose [this message]
2004-08-04 12:24 ` Paul Davis
2004-08-04 12:43 ` Ed Wildgoose
2004-08-04 13:01 ` Paul Davis
2004-08-04 13:31 ` Ed Wildgoose
2004-08-04 15:13 ` Zsolt Barat
2004-08-04 15:03 ` Zsolt Barat
2004-08-04 15:24 ` Paul Davis
2004-08-04 13:35 ` James Courtier-Dutton
2004-08-04 9:44 ` Takashi Iwai
2004-08-04 9:55 ` Ed Wildgoose
2004-08-04 10:21 ` Ed Wildgoose
2004-08-04 10:20 ` Jaroslav Kysela
2004-08-04 10:27 ` Takashi Iwai
2004-08-04 10:56 ` Jaroslav Kysela
2004-08-04 11:15 ` Takashi Iwai
2004-08-04 10:30 ` Ed Wildgoose
2004-08-04 10:53 ` Jaroslav Kysela
2004-08-04 11:21 ` Ed Wildgoose
2004-08-04 9:52 ` Ed Wildgoose
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=4110C586.3030100@wildgooses.com \
--to=lists@wildgooses.com \
--cc=alsa-devel@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.