MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / stop_stream

Method stop_stream

src/board_controller/ant_neuro/ant_neuro.cpp:233–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233int AntNeuroBoard::stop_stream ()
234{
235 if (stream != NULL)
236 {
237 keep_alive = false;
238 streaming_thread.join ();
239 delete stream;
240 stream = NULL;
241 return (int)BrainFlowExitCodes::STATUS_OK;
242 }
243 else
244 {
245 return (int)BrainFlowExitCodes::STREAM_THREAD_IS_NOT_RUNNING;
246 }
247}
248
249int AntNeuroBoard::release_session ()
250{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected