aboutsummaryrefslogtreecommitdiffstats
path: root/maximilian.h
diff options
context:
space:
mode:
authormick grierson <mickgrierson@gmail.com>2016-10-11 10:55:11 +0100
committermick grierson <mickgrierson@gmail.com>2016-10-11 10:55:11 +0100
commitdf18758a04f36e74f0fa74a65ee11572015a9aff (patch)
treea4724bbb2cb159c3604f6fa18dcadff9a2935b6a /maximilian.h
parent91aaebbe17f104f173b4c18a77c21a43e4cdf531 (diff)
fixing record bugs (temp fix)
Diffstat (limited to 'maximilian.h')
-rwxr-xr-xmaximilian.h68
1 files changed, 34 insertions, 34 deletions
diff --git a/maximilian.h b/maximilian.h
index d7d8558..6cb7628 100755
--- a/maximilian.h
+++ b/maximilian.h
@@ -795,39 +795,39 @@ public:
bool tick;
};
-
-class maxiRecorder
-{
-public:
- maxiRecorder();
- ~maxiRecorder();
-
- void setup(std::string _filename);
- void startRecording();
- void stopRecording();
- bool isRecording() const;
- void passData(double* _in, int _inBufferSize);
- void passData(float* _in, int _inBufferSize);
- void saveToWav();
-
-protected:
- std::vector<double> getProcessedData();
- void update();
- void enqueueBuffer();
- void freeResources();
-
-private:
- template <typename T>
- void write(std::ofstream& _stream, const T& _t);
- const int bufferQueueSize;
- const int bufferSize;
- long int bufferIndex;
- long int recordedAmountFrames;
- std::queue<double*> bufferQueue;
- std::queue<double*> savedBuffers;
- bool doRecord;
- std::string filename;
-};
-
+//
+//class maxiRecorder
+//{
+//public:
+// maxiRecorder();
+// ~maxiRecorder();
+//
+// void setup(std::string _filename);
+// void startRecording();
+// void stopRecording();
+// bool isRecording() const;
+// void passData(double* _in, int _inBufferSize);
+// void passData(float* _in, int _inBufferSize);
+// void saveToWav();
+//
+//protected:
+//// std::vector<double> getProcessedData();
+// void update();
+// void enqueueBuffer();
+// void freeResources();
+//
+//private:
+// template <typename T>
+// void write(std::ofstream& _stream, const T& _t);
+// const int bufferQueueSize;
+// const int bufferSize;
+// long int bufferIndex;
+// long int recordedAmountFrames;
+//// std::queue<double*> bufferQueue;
+//// std::queue<double*> savedBuffers;
+// bool doRecord;
+// std::string filename;
+//};
+//
#endif