diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2015-04-11 19:14:28 +0200 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2015-04-11 19:14:28 +0200 |
commit | fd3edab5680fbbf998d70aadb269efd62b284ae5 (patch) | |
tree | b0a5e74e28413b8ffaa5c50864529673ca796929 /src/events.h | |
parent | 9c52ab4a6688782d0db723bd411db745fed08087 (diff) | |
parent | b7e50d0f21e5619e746dafac129bb66b746c8d64 (diff) |
Merge branch 'diskstreaming' of http://git.drumgizmo.org/drumgizmo into diskstreaming
Diffstat (limited to 'src/events.h')
-rw-r--r-- | src/events.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/events.h b/src/events.h index fa0147b..ea897f1 100644 --- a/src/events.h +++ b/src/events.h @@ -35,6 +35,7 @@ #include "audiofile.h" #include "audio.h" #include "mutex.h" +#include "cachemanager.h" typedef unsigned int timepos_t; @@ -58,6 +59,7 @@ public: EventSample(channel_t c, float g, AudioFile *af, std::string grp, void *instr) { + cache_id = CACHE_NOID; channel = c; gain = g; t = 0; @@ -70,6 +72,10 @@ public: Event::type_t type() { return Event::sample; } + cacheid_t cache_id; + sample_t *buffer; + size_t buffer_size; + float gain; unsigned int t; AudioFile *file; |