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

Function stop_stream

src/board_controller/board_controller.cpp:366–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366int stop_stream (int board_id, const char *json_brainflow_input_params)
367{
368 std::lock_guard<std::mutex> lock (mutex);
369
370 std::pair<int, struct BrainFlowInputParams> key;
371 int res = check_board_session (board_id, json_brainflow_input_params, key, false);
372 if (res != (int)BrainFlowExitCodes::STATUS_OK)
373 {
374 return res;
375 }
376 auto board_it = boards.find (key);
377 return board_it->second->stop_stream ();
378}
379
380int insert_marker (double value, int preset, int board_id, const char *json_brainflow_input_params)
381{

Callers 7

release_sessionMethod · 0.70
release_sessionMethod · 0.70
start_streamMethod · 0.70
release_sessionMethod · 0.70
release_sessionMethod · 0.70
stop_streamMethod · 0.50
stop_streamMethod · 0.50

Calls 2

check_board_sessionFunction · 0.85
stop_streamMethod · 0.65

Tested by

no test coverage detected