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