From: melwyn lobo <linux.melwyn@gmail.com>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: XRUN handling
Date: Tue, 6 Jul 2010 16:35:21 +0530 [thread overview]
Message-ID: <AANLkTimKA4B8qxbUhlE_3CpCaDOVCS_MpglOiERqS4zS@mail.gmail.com> (raw)
In-Reply-To: <4C32CD2F.2010100@ladisch.de>
Adding mailing list to copy:
- Hide quoted text -
> melwyn lobo wrote:
>> In case snd_pcm_playback_avail() is less than stop threshold but
>> greater than 0, then these bytes are missing after Xrun prepare and
>> start stage.
>
> Preparing a stream resets it, i.e., any data currently in the buffer
> is discarded.
>
> If you want to have data in the buffer after preparing, you have to
> write it again.
>
Thanks for the confirmation. Our client is working on aplay to test
our driver in which already there is this issue.
Is there any workaround in kernel/driver space that could be done or
it can only be fixed in aplay.
Regards
M.
next prev parent reply other threads:[~2010-07-06 11:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-06 5:03 XRUN handling melwyn lobo
2010-07-06 6:29 ` Clemens Ladisch
2010-07-06 11:05 ` melwyn lobo [this message]
2010-07-06 12:34 ` Clemens Ladisch
2010-07-06 16:16 ` James Courtier-Dutton
2010-07-06 17:46 ` melwyn lobo
2010-07-06 18:39 ` Jaroslav Kysela
2010-07-07 8:11 ` melwyn lobo
2010-07-14 10:17 ` melwyn lobo
2010-07-19 14:37 ` Jaroslav Kysela
2010-07-19 14:43 ` Jaroslav Kysela
2010-07-06 19:37 ` James Courtier-Dutton
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=AANLkTimKA4B8qxbUhlE_3CpCaDOVCS_MpglOiERqS4zS@mail.gmail.com \
--to=linux.melwyn@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.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).