Skip to content

Commit 76a906d

Browse files
committed
Remove toggleRecordThread from core services
1 parent efb4965 commit 76a906d

2 files changed

Lines changed: 0 additions & 15 deletions

File tree

Source/CoreServices.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -165,18 +165,6 @@ namespace CoreServices
165165
return getProcessorGraph()->getRecordNode()->addSpikeElectrode(elec);
166166
}
167167

168-
void toggleRecordThread(bool status)
169-
{
170-
if (status)
171-
getProcessorGraph()->getRecordNode()->setParameter(3, 1.0);
172-
else
173-
getProcessorGraph()->getRecordNode()->setParameter(3, 0.0);
174-
}
175-
176-
bool getRecordThreadStatus()
177-
{
178-
return getProcessorGraph()->getRecordNode()->getRecordThreadStatus();
179-
}
180168
};
181169

182170
const char* getApplicationResource(const char* name, int& size)

Source/CoreServices.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@ PLUGIN_API void writeSpike(const SpikeEvent* spike, const SpikeChannel* chan);
110110
PLUGIN_API void registerSpikeSource(GenericProcessor* processor);
111111
PLUGIN_API int addSpikeElectrode(const SpikeChannel* elec);
112112

113-
/* Don't mess with this unless you know what you're doing.*/
114-
PLUGIN_API void toggleRecordThread(bool status);
115-
PLUGIN_API bool getRecordThreadStatus();
116113
};
117114

118115
PLUGIN_API const char* getApplicationResource(const char* name, int& size);

0 commit comments

Comments
 (0)