• Implement Buffer data re-use for portaudio capture device. If the Buffer has a pre-allocated data area then check if portaudio can re-use it. Only if this is not possible then allocate a buffer and set it in Buffer. This reduces usage of dynamic memory allocation and thus garbage collection.