C++ class for Audio capture and play with RTAudio