From: Irfan shaikh <irfan.shaikh@sasken.com>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: ALSA Underrun / Silence playback
Date: Mon, 5 Dec 2011 17:26:36 +0530 [thread overview]
Message-ID: <4EDCB174.9070403@sasken.com> (raw)
In-Reply-To: <4EDCA0CC.5030603@ladisch.de>
On 12/05/2011 04:15 PM, Clemens Ladisch wrote:
> Irfan shaikh wrote:
>> > I have used my threshold as boundary value also and checked the audio
>> > performance. I was still getting UNDERRUN's (-32).
> Did you actually call snd_pcm_sw_params()?
Hi thanks a lot for hint provided by you.
It works fine now.
What threshold value is better boundary value OR alsa buffer size value
for good performance ?
Observation :
I do lot of console operation purposely to get ALSA underrun.
After above implementation i do not see any UNDERRUN.
###### But Audio goes out of sync and playes jerky ? ########
Is there any way we can avoid above jerks ?
xfer_align function is depreciated.
Thanks and regards
Irfan
prev parent reply other threads:[~2011-12-05 11:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-05 6:40 ALSA Underrun / Silence playback Irfan shaikh
2011-12-05 9:50 ` Clemens Ladisch
2011-12-05 10:04 ` Irfan shaikh
2011-12-05 10:45 ` Clemens Ladisch
2011-12-05 11:56 ` Irfan shaikh [this message]
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=4EDCB174.9070403@sasken.com \
--to=irfan.shaikh@sasken.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