From 8c23fae3b55609bececab93003d7633f58ece083 Mon Sep 17 00:00:00 2001 From: Mick Grierson Date: Thu, 26 Apr 2012 13:09:55 +0100 Subject: some commenting --- maximilian.h | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) (limited to 'maximilian.h') 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 #include @@ -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); -- cgit v1.3