From 5dee5069bc10ba3e190723aa68bb880183b1dc4c Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 17 Mar 2019 11:44:21 +0100 Subject: Implemented new directed choke feature. --- src/events.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/events.h') diff --git a/src/events.h b/src/events.h index f43fbe2..18f9af3 100644 --- a/src/events.h +++ b/src/events.h @@ -65,16 +65,16 @@ class EventSample { public: EventSample(channel_t c, float g, AudioFile* af, - const std::string& grp, void* instr) + const std::string& grp, std::size_t instrument_id) : Event(c) , cache_id(CACHE_NOID) , gain(g) , t(0) , file(af) , group(grp) - , instrument(instr) , rampdown_count(-1) , ramp_length(0) + , instrument_id(instrument_id) { } @@ -98,11 +98,11 @@ public: unsigned int t; //< Internal sample position. AudioFile* file; std::string group; - void* instrument; int rampdown_count; int ramp_length; std::size_t rampdown_offset{0}; float scale{1.0f}; + std::size_t instrument_id; }; class EventQueue -- cgit v1.2.3