Skip to content

Commit 0cbfc76

Browse files
committed
Merge branch 'testing' into development
2 parents 66359b6 + 1f7da9e commit 0cbfc76

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ If you want to add files to the core GUI, you'll have to do that through the "In
1919
New plugin developers can publish links to their work in `this list`_ to make them available to the general public.
2020

2121
.. _source: https://github.com/julianstorer/juce
22-
.. _JUCE: http://www.rawmaterialsoftware.com/juce.php
22+
.. _JUCE: https://juce.com/
2323
.. _wiki: http://open-ephys.atlassian.net
2424
.. _different branches: https://open-ephys.atlassian.net/wiki/display/OEW/Using+Git
2525
.. _this list: https://open-ephys.atlassian.net/wiki/display/OEW/Third-party+plugin+repositories

Source/Plugins/BinaryWriter/BinaryRecording.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,13 +521,13 @@ void BinaryRecording::writeEvent(int eventIndex, const MidiMessage& event)
521521
int64 ts = ev->getTimestamp();
522522
rec->timestampFile->writeData(&ts, sizeof(int64));
523523

524-
uint16 chan = ev->getChannel();
524+
uint16 chan = ev->getChannel() +1;
525525
rec->channelFile->writeData(&chan, sizeof(uint16));
526526

527527
if (ev->getEventType() == EventChannel::TTL)
528528
{
529529
TTLEvent* ttl = static_cast<TTLEvent*>(ev.get());
530-
int16 data = ttl->getChannel() * (ttl->getState() ? 1 : -1);
530+
int16 data = (ttl->getChannel()+1) * (ttl->getState() ? 1 : -1);
531531
rec->mainFile->writeData(&data, sizeof(int16));
532532
if (rec->extraFile)
533533
rec->extraFile->writeData(ttl->getTTLWordPointer(), info->getDataSize());
@@ -636,4 +636,4 @@ String BinaryRecording::jsonTypeValue(BaseType type)
636636
default:
637637
return String::empty;
638638
}
639-
}
639+
}

0 commit comments

Comments
 (0)