On 02/17/2011 10:53 PM, Robin Gareus wrote:
There's something which confuses me. But I'm not sure how this realtime period
settings relate to the audio I/O period.
On Android, the closest that one can get to hardware in a more or less portable
way is libaudio . It's Android's audio HAL. This API exposes blocking read()
and write() calls, with fixed buffer sizes (input and output buffer sizes
generally do not match, but that's another problem).
So, this may be a silly/newbie question, but can one access this blocking API
from a realtime thread? What will happen when it blocks? How does the read/write
period relate to sched_rt_period_us?
Linux-audio-dev mailing list