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>
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;
};
};
};