9 Dec
2011
9 Dec
'11
7:35 a.m.
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