From: irfanks <irfan.shaikh@sasken.com>
To: alsa-devel@alsa-project.org
Subject: snd_pcm_sw_params_set_start_threshold() functionality
Date: Mon, 29 Oct 2012 16:50:06 +0530 [thread overview]
Message-ID: <508E6666.5080402@sasken.com> (raw)
Hello,
snd_pcm_sw_params_set_start_threshold() API description
explains, "PCM is automatically started when playback frames available
to PCM are >= threshold"
I want to know, whether above pre-buffering(threshold)
mechanism is only during the start of playback ?
OR
Also if my playback device goes to XRUN state, Again next
time when i prepare my playback device using snd_pcm_prepare(). Again
the prebuffering (threshold) will occur since i have set
snd_pcm_sw_params_set_start_threshold() to N periods in software params.
Best Regards,
Thanks in advance,
Irfan...
next reply other threads:[~2012-10-29 11:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-29 11:20 irfanks [this message]
2012-10-29 12:28 ` snd_pcm_sw_params_set_start_threshold() functionality irfanks
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=508E6666.5080402@sasken.com \
--to=irfan.shaikh@sasken.com \
--cc=alsa-devel@alsa-project.org \
/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.