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

Method get_sampling_rate

cpp_package/src/board_shim.cpp:315–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315int BoardShim::get_sampling_rate (int board_id, int preset)
316{
317 int sampling_rate = -1;
318 int res = ::get_sampling_rate (board_id, preset, &sampling_rate);
319 if (res != (int)BrainFlowExitCodes::STATUS_OK)
320 {
321 throw BrainFlowException ("failed to get board info", res);
322 }
323 return sampling_rate;
324}
325
326int BoardShim::get_package_num_channel (int board_id, int preset)
327{

Callers

nothing calls this directly

Calls 2

get_sampling_rateFunction · 0.85
BrainFlowExceptionClass · 0.85

Tested by

no test coverage detected