aboutsummaryrefslogtreecommitdiffstats
path: root/maximilian.h
diff options
context:
space:
mode:
authorMick Grierson <mickgrierson@gmail.com>2012-04-26 13:09:55 +0100
committerMick Grierson <mickgrierson@gmail.com>2012-04-26 13:09:55 +0100
commit8c23fae3b55609bececab93003d7633f58ece083 (patch)
treea981f9acef71c9cd453b8eb495f3401e149ccc7a /maximilian.h
parent32f1a9a098249e68490faef837bd3a7370760db5 (diff)
some commenting
Diffstat (limited to 'maximilian.h')
-rwxr-xr-xmaximilian.h34
1 files changed, 1 insertions, 33 deletions
diff --git a/maximilian.h b/maximilian.h
index 3345344..50f91fc 100755
--- a/maximilian.h
+++ b/maximilian.h
@@ -36,9 +36,6 @@
//#define MAXIMILIAN_PORTAUDIO
#define MAXIMILIAN_RT_AUDIO
-//#include "ofMain.h"
-//#include "ofUtils.h"
-
#include <iostream>
#include <fstream>
@@ -233,36 +230,7 @@ public:
double bufferPlay(unsigned char &bufferin,double frequency, double start, double end);
double bufferPlay4(unsigned char &bufferin,double frequency, double start, double end);
-
- //int open(char *filename) {
- // // open the wav file
- // char *path = new char[50];
- // strcpy(path, filename);
- // sample *myWav = new sample(path);
- // return 0;
- // }
- // // print a summary of the wav file
- // int info() {
- // char *summary = myWav->getSummary();
- // printf("Summary:\n%s", summary);
- // return 0;
- // }
- // int savefile() {
- // // write the summary back out
- // strcpy(path, "testout.wav");
- // myWav->setPath(path);
- // myWav->save();
- // return 0:
- // }
- // int close() {
- // // collect the garbage
- // delete summary;
- // delete path;
- // delete myWav;
- //
- // return 0;
- // }
- // write out the wav file
+
bool save()
{
fstream myFile (myPath.c_str(), ios::out | ios::binary);