libha codec now maintains internal i/o buffers and calls i/o callbacks less often...