added: use the buffer size callback from jack to allocate a pregain buffer, and leave the pregain buffer always allocated, this prevents freeing and allocating a buffer from a realtime thread