Skip to content

Commit

Permalink
Removed file opening function from RecordNode
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiegle committed Feb 21, 2012
1 parent c5b644c commit f8dbf84
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Source/Processors/RecordNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ RecordNode::RecordNode()
// need to update this:
setPlayConfigDetails(64,0,44100.0,128);

outputFile = File("./data"); // create output file
outputStream = 0;
//utputFile = File("./data"); // create output file
//outputStream = 0;

}

Expand All @@ -52,7 +52,7 @@ void RecordNode::setParameter (int parameterIndex, float newValue)

bool RecordNode::enable()
{
outputStream = outputFile.createOutputStream();
//outputStream = outputFile.createOutputStream();

return true;
}
Expand All @@ -61,12 +61,12 @@ bool RecordNode::enable()
bool RecordNode::disable()
{

if (outputStream != 0) {
outputStream->flush();
// if (outputStream != 0) {
// outputStream->flush();

delete(outputStream);
outputStream = 0;
}
// delete(outputStream);
// outputStream = 0;
// }

return true;
}
Expand Down

0 comments on commit f8dbf84

Please sign in to comment.