diff --git a/core/src/dsp/buffer.h b/core/src/dsp/buffer.h index 8c199ce2..a43c48e8 100644 --- a/core/src/dsp/buffer.h +++ b/core/src/dsp/buffer.h @@ -8,9 +8,7 @@ namespace dsp { template class RingBuffer { public: - RingBuffer() { - - } + RingBuffer() {} RingBuffer(int maxLatency) { init(maxLatency); } @@ -200,7 +198,7 @@ namespace dsp { } private: - T* _buffer; + T* _buffer = NULL; int size; int readc; int writec; @@ -331,4 +329,4 @@ namespace dsp { bool stopWorker = false; }; -}; \ No newline at end of file +};