Skip to content
Snippets Groups Projects
Commit 0bb9a7d7 authored by jsiegle's avatar jsiegle
Browse files

Fixed problems with variable initialization

parent 161dcdb2
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,8 @@ GenericProcessor::GenericProcessor(const String& name_) :
isEnabled(true),
saveOrder(-1), loadOrder(-1),
nextAvailableChannel(0), currentChannel(-1),
wasConnected(false), nullParam("VOID", false, -1)
wasConnected(false), nullParam("VOID", false, -1),
audioAndRecordNodeStartChannel(0)
{
}
......
......@@ -25,7 +25,8 @@
#include "ProcessorGraph.h"
RecordNode::RecordNode()
: GenericProcessor("Record Node"), isRecording(false), isProcessing(false)
: GenericProcessor("Record Node"), isRecording(false), isProcessing(false),
timestamp(0), signalFilesShouldClose(false)
{
......@@ -316,7 +317,8 @@ float RecordNode::getFreeSpace()
void RecordNode::writeContinuousBuffer(float* data, int nSamples, int channel)
{
// scale the data appropriately
// scale the data appropriately -- currently just getting it into the right
// range; actually need to take into account the gain of each channel
for (int n = 0; n < nSamples; n++)
{
*(continuousDataFloatBuffer+n) = *(data+n) / 10000.0f;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment