diff options
author | Florian Jung <flo@windfisch.org> | 2012-05-28 14:15:52 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2012-05-28 14:15:52 +0000 |
commit | d2a88cfaad5ac385fc3c6212c09ad7fbc38e9454 (patch) | |
tree | 387da0b38255003e1a971629ea0de32273ac3d3c /muse2/muse/track.h | |
parent | 716f5a5b56a3b7ff59004ef0a1af5f98cb2a691c (diff) |
merged with release_2_0
Diffstat (limited to 'muse2/muse/track.h')
-rw-r--r-- | muse2/muse/track.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/muse2/muse/track.h b/muse2/muse/track.h index 5e3319a2..93f2f673 100644 --- a/muse2/muse/track.h +++ b/muse2/muse/track.h @@ -30,6 +30,7 @@ #include <vector> #include <algorithm> +#include "wave.h" // for SndFileR #include "part.h" #include "key.h" #include "node.h" @@ -42,7 +43,6 @@ namespace MusECore { class MPEventList; class Pipeline; class PluginI; -class SndFile; class SynthI; class Xml; class DrumMap; @@ -304,9 +304,9 @@ class MidiTrack : public Track { static bool visible() { return _isVisible; } int getFirstControllerValue(int ctrl, int def=-1); - int getControllerChangeAtTick(int tick, int ctrl, int def=-1); - unsigned getControllerValueLifetime(int tick, int ctrl); // returns the tick where this CC gets overriden by a new one - // returns UINT_MAX for "never" + int getControllerChangeAtTick(unsigned tick, int ctrl, int def=-1); + unsigned getControllerValueLifetime(unsigned tick, int ctrl); // returns the tick where this CC gets overriden by a new one + // returns UINT_MAX for "never" void setClef(clefTypes i) { clefType = i; } clefTypes getClef() { return clefType; } @@ -359,7 +359,7 @@ class AudioTrack : public Track { unsigned bufferPos; virtual bool getData(unsigned, int, unsigned, float**); - SndFile* _recFile; + SndFileR _recFile; Fifo fifo; // fifo -> _recFile bool _processed; @@ -390,8 +390,8 @@ class AudioTrack : public Track { void mapRackPluginsToControllers(); void showPendingPluginNativeGuis(); - SndFile* recFile() const { return _recFile; } - void setRecFile(SndFile* sf) { _recFile = sf; } + SndFileR recFile() const { return _recFile; } + void setRecFile(SndFileR sf) { _recFile = sf; } CtrlListList* controller() { return &_controller; } |