diff options
Diffstat (limited to 'src/engine/internals/Note.hpp')
-rw-r--r-- | src/engine/internals/Note.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/internals/Note.hpp b/src/engine/internals/Note.hpp index 11fc1344..8ad7f452 100644 --- a/src/engine/internals/Note.hpp +++ b/src/engine/internals/Note.hpp @@ -40,7 +40,7 @@ namespace Internals { class NoteNode : public NodeBase { public: - NoteNode(BufferFactory& bufs, const std::string& path, bool polyphonic, PatchImpl* parent, SampleRate srate, size_t buffer_size); + NoteNode(BufferFactory& bufs, const std::string& path, bool polyphonic, PatchImpl* parent, SampleRate srate); ~NoteNode(); bool prepare_poly(BufferFactory& bufs, uint32_t poly); @@ -68,7 +68,7 @@ private: /** Voice, one of these always exists for each voice */ struct Voice { enum State { FREE, ACTIVE, HOLDING }; - Voice() : state(FREE), note(0) {} + Voice() : state(FREE), note(0), time(0) {} State state; uint8_t note; SampleCount time; }; |