alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* start_threshold and stream controls for PCM streams
@ 2011-12-09  5:35 Nallasellan, Singaravelan
  2011-12-12 14:59 ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Nallasellan, Singaravelan @ 2011-12-09  5:35 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org; +Cc: Takashi Iwai, Mark Brown, Liam Girdwood

Hi,

Would like to know how start_threshold is expected to be used in 
single_threaded audio player? 

I assume that in blocking implementation,  the write call will block 
till the ring buffer becomes empty. Is it right?

If the audio player has to wait for the write call to be blocked, 
I guess it is possible that the delay to service the stream controls 
will be delayed as long as the buffer duration.

If so, how can I send stream control operations for the stream 
when the stream is blocked for the buffer?

What are the option to service stream controls immediately?

Thanks in advance. 

Thanks
-Sing

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-14  8:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-09  5:35 start_threshold and stream controls for PCM streams Nallasellan, Singaravelan
2011-12-12 14:59 ` Takashi Iwai
2011-12-14  8:23   ` Raymond Yau

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).