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

Move offset before scaling

parent ea7f8720
Branches
Tags
No related merge requests found
......@@ -926,20 +926,20 @@ bool RHD2000Thread::updateBuffer()
channel++;
thisSample[channel] = 0.0374 *
float(dataBlock->auxiliaryData[streamNumber][1][samp+0]) - 10000.0f;
float(dataBlock->auxiliaryData[streamNumber][1][samp+0] - 10000.0f) ;
auxBuffer[channel] = thisSample[channel];
channel++;
thisSample[channel] = 0.0374 *
float(dataBlock->auxiliaryData[streamNumber][1][samp+1]) - 10000.0f;
float(dataBlock->auxiliaryData[streamNumber][1][samp+1] - 10000.0f) ;
auxBuffer[channel] = thisSample[channel];
channel++;
thisSample[channel] = 0.0374 *
float(dataBlock->auxiliaryData[streamNumber][1][samp+2]) - 10000.0f;
float(dataBlock->auxiliaryData[streamNumber][1][samp+2] - 10000.0f) ;
auxBuffer[channel] = thisSample[channel];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment