diff options
author | deva <deva> | 2008-07-22 21:00:01 +0000 |
---|---|---|
committer | deva <deva> | 2008-07-22 21:00:01 +0000 |
commit | f6cabfe8fe888e00388a815541084b0fa332a462 (patch) | |
tree | d39301b9e194e2e58a24c92ec5526d05fa1b4a3a /src/event.cc | |
parent | 14309bc447960536c34a438dffb93f520dad40fa (diff) |
DrumKit parser. Internal drumkit now used in events. This is the first milestone.
Diffstat (limited to 'src/event.cc')
-rw-r--r-- | src/event.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event.cc b/src/event.cc index c589807..5a78746 100644 --- a/src/event.cc +++ b/src/event.cc @@ -26,10 +26,11 @@ */ #include "event.h" -Event::Event(jack_port_t *port, Sample *sample, size_t time, size_t duration) +Event::Event(jack_port_t *port, AudioFile *sample, size_t time, size_t duration) { this->port = port; this->sample = sample; + sample->load(); this->time = time; this->duration = duration; } |