Corrected block release for 1 channel operation

pull/6/merge
boblark 4 years ago
parent 2a5674285b
commit b36d1c64e5
  1. 2
      radioNoiseBlanker_F32.cpp

@ -39,8 +39,10 @@ void radioNoiseBlanker_F32::update(void) {
if(! runNB) { if(! runNB) {
AudioStream_F32::transmit(blockIn0, 0); // send the unchanged data AudioStream_F32::transmit(blockIn0, 0); // send the unchanged data
AudioStream_F32::release (blockIn0); AudioStream_F32::release (blockIn0);
if(twoChannel) {
AudioStream_F32::transmit(blockIn1, 1); AudioStream_F32::transmit(blockIn1, 1);
AudioStream_F32::release (blockIn1); AudioStream_F32::release (blockIn1);
}
return; return;
} }

Loading…
Cancel
Save