Fixed code style

This commit is contained in:
AlexandreRouma 2021-07-12 00:58:39 +02:00 committed by GitHub
parent 5971d3d3b3
commit 4aaf71f5cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,11 +8,7 @@ namespace dsp {
template <class T> template <class T>
class RingBuffer { class RingBuffer {
public: public:
RingBuffer(): RingBuffer() {}
_buffer{nullptr}
{
}
RingBuffer(int maxLatency) { init(maxLatency); } RingBuffer(int maxLatency) { init(maxLatency); }
@ -202,7 +198,7 @@ namespace dsp {
} }
private: private:
T* _buffer; T* _buffer = NULL;
int size; int size;
int readc; int readc;
int writec; int writec;