summaryrefslogtreecommitdiff
path: root/muse2/muse/eventbase.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2012-03-15 18:21:23 +0000
committerFlorian Jung <flo@windfisch.org>2012-03-15 18:21:23 +0000
commit27b7bf6815cda7abb67026c37b3e44daee1803cb (patch)
tree0b9d1c0bc84ac7ff8032e707f2b5fb4e0aaabb5c /muse2/muse/eventbase.h
parent2d6f113a10eb485694e20a78500f650776d701e3 (diff)
merged with trunk
Diffstat (limited to 'muse2/muse/eventbase.h')
-rw-r--r--muse2/muse/eventbase.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/muse2/muse/eventbase.h b/muse2/muse/eventbase.h
index 89d38ec3..0cb960d9 100644
--- a/muse2/muse/eventbase.h
+++ b/muse2/muse/eventbase.h
@@ -24,13 +24,11 @@
#ifndef __EVENTBASE_H__
#define __EVENTBASE_H__
-//#include <samplerate.h>
#include <sys/types.h>
#include "pos.h"
#include "event.h"
-//class AudioConverter;
namespace MusECore {
class WavePart;
@@ -60,7 +58,6 @@ class EventBase : public PosLen {
void move(int offset);
virtual void read(Xml&) = 0;
- //virtual void write(int, Xml&, const Pos& offset) const = 0;
virtual void write(int, Xml&, const Pos& offset, bool forcePath = false) const = 0;
virtual void dump(int n = 0) const;
virtual EventBase* mid(unsigned, unsigned) = 0;
@@ -100,12 +97,6 @@ class EventBase : public PosLen {
virtual void setSndFile(SndFileR&) { }
virtual EventBase* clone() = 0;
- //virtual void read(unsigned /*offset*/, float** /*bpp*/, int /*channels*/, int /*nn*/, bool /*doSeek*/, bool overwrite = true) {}
- //virtual void readAudio(unsigned /*offset*/, float** /*bpp*/, int /*channels*/, int /*nn*/, bool /*doSeek*/, bool /*overwrite*/) {}
- //virtual off_t readAudio(SRC_STATE* /*src_state*/, off_t /*sfCurFrame*/, unsigned /*offset*/,
- // float** /*bpp*/, int /*channels*/, int /*nn*/, bool /*doSeek*/, bool /*overwrite*/) { return 0; }
- //virtual off_t readAudio(AudioConverter* /*audConv*/, off_t /*sfCurFrame*/, unsigned /*offset*/,
- // float** /*bpp*/, int /*channels*/, int /*nn*/, bool /*doSeek*/, bool /*overwrite*/) { return 0; }
virtual void readAudio(WavePart* /*part*/, unsigned /*offset*/,
float** /*bpp*/, int /*channels*/, int /*nn*/, bool /*doSeek*/, bool /*overwrite*/) { }
};