Runtime configuration class of the wave2lsl plugin.
More...
|
| cfg_t (unsigned skip_, unsigned num_channels_, unsigned num_samples_, const std::string &source_id, const std::string varname_, double rate) |
| C'tor of wave2lsl run time configuration. More...
|
|
void | process (mha_wave_t *s) |
|
Runtime configuration class of the wave2lsl plugin.
◆ cfg_t()
cfg_t::cfg_t |
( |
unsigned |
skip_, |
|
|
unsigned |
num_channels_, |
|
|
unsigned |
num_samples_, |
|
|
const std::string & |
source_id, |
|
|
const std::string |
varname_, |
|
|
double |
rate |
|
) |
| |
C'tor of wave2lsl run time configuration.
- Parameters
-
skip_ | Number of frames to skip after each send |
num_channels_ | Number of channels in the LSL stream |
num_samples_ | Number of samples within one frame |
source_id_ | LSL identifier for this data stream |
varname_ | Names of AC variables to send over LSL |
rate | Rate with wich chunks of data are sent to the LSL stream. Usually the rate with which process calls happen, but may be lower due to the subsampling caused by skip_ |
◆ process()
◆ skipcnt
unsigned wave2lsl::cfg_t::skipcnt |
|
private |
Counter of frames to skip.
◆ skip
const unsigned wave2lsl::cfg_t::skip |
|
private |
Number of frames to skip after each send.
◆ info
lsl::stream_info wave2lsl::cfg_t::info |
|
private |
◆ stream
lsl::stream_outlet wave2lsl::cfg_t::stream |
|
private |
LSL stream outlet.
Interface to lsl
The documentation for this class was generated from the following file: