We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b95479 commit 01caacaCopy full SHA for 01caaca
1 file changed
Source/Processors/FileReader/FileReader.cpp
@@ -320,6 +320,8 @@ void FileReader::setActiveRecording (int index)
320
bufferCacheWindow = 0;
321
loopCount = 0;
322
323
+ channelInfo.clear();
324
+
325
for (int i = 0; i < currentNumChannels; ++i)
326
{
327
channelInfo.add (input->getChannelInfo (index, i));
@@ -401,10 +403,10 @@ void FileReader::updateSettings()
401
403
ContinuousChannel::Settings channelSettings
402
404
405
ContinuousChannel::Type::ELECTRODE,
- "CH" + String(i + 1),
406
+ channelInfo[i].name,
407
"description",
408
"filereader.stream",
- 0.195f, // BITVOLTS VALUE
409
+ channelInfo[i].bitVolts, // BITVOLTS VALUE
410
dataStreams.getLast()
411
};
412
0 commit comments