#ifndef MUMSI_ABSTRACTCOMMUNICATOR_HPP #define MUMSI_ABSTRACTCOMMUNICATOR_HPP #include "SoundSampleQueue.hpp" #include #define SOUND_SAMPLE_TYPE int16_t class AbstractCommunicator { public: virtual void loop() = 0; protected: AbstractCommunicator( SoundSampleQueue &inputQueue, SoundSampleQueue &outputQueue) : inputQueue(inputQueue), outputQueue(outputQueue) { } SoundSampleQueue &inputQueue; SoundSampleQueue &outputQueue; }; #endif //MUMSI_ABSTRACTCOMMUNICATOR_HPP