[Portaudio] Do I need to care about overflow/underflow when using the read/write API?

Spencer Russell sfr at media.mit.edu
Mon Mar 21 13:31:57 EDT 2016

> On Mar 20, 2016, at 12:36 AM, Phil Burk <philburk at mobileer.com> wrote:
> Also not that if you are doing both audio input and output then you should start with the input empty and the output full. That way if the app gets hung up the input will fill and the output will drain symmetrically.

Thanks for this tip. I had sort of given up on deterministic latency when using a read/write API (I’m used to callback-style), but this is super helpful.


More information about the Portaudio mailing list