diff --git a/core/src/dsp/block.h b/core/src/dsp/block.h index 2f8f5736..2c959986 100644 --- a/core/src/dsp/block.h +++ b/core/src/dsp/block.h @@ -87,19 +87,19 @@ namespace dsp { ctrlMtx.unlock(); } - void registerInput(untyped_steam* inStream) { + void registerInput(untyped_stream* inStream) { inputs.push_back(inStream); } - void unregisterInput(untyped_steam* inStream) { + void unregisterInput(untyped_stream* inStream) { inputs.erase(std::remove(inputs.begin(), inputs.end(), inStream), inputs.end()); } - void registerOutput(untyped_steam* outStream) { + void registerOutput(untyped_stream* outStream) { outputs.push_back(outStream); } - void unregisterOutput(untyped_steam* outStream) { + void unregisterOutput(untyped_stream* outStream) { outputs.erase(std::remove(outputs.begin(), outputs.end(), outStream), outputs.end()); } @@ -133,8 +133,8 @@ namespace dsp { std::mutex ctrlMtx; - std::vector inputs; - std::vector outputs; + std::vector inputs; + std::vector outputs; bool running = false; bool tempStopped = false; diff --git a/core/src/dsp/stream.h b/core/src/dsp/stream.h index 53560871..73874f71 100644 --- a/core/src/dsp/stream.h +++ b/core/src/dsp/stream.h @@ -7,7 +7,7 @@ #define STREAM_BUFFER_SIZE 1000000 namespace dsp { - class untyped_steam { + class untyped_stream { public: virtual bool swap(int size) { return false; } virtual int read() { return -1; } @@ -19,7 +19,7 @@ namespace dsp { }; template - class stream : public untyped_steam { + class stream : public untyped_stream { public: stream() { writeBuf = (T*)volk_malloc(STREAM_BUFFER_SIZE * sizeof(T), volk_get_alignment());