[][src]Function lsl_sys::lsl_get_nominal_srate

pub unsafe extern "C" fn lsl_get_nominal_srate(info: lsl_streaminfo) -> f64

Sampling rate of the stream, according to the source (in Hz).

If a stream is irregularly sampled, this should be set to #LSL_IRREGULAR_RATE.

Note that no data will be lost even if this sampling rate is incorrect or if a device has temporary hiccups, since all samples will be recorded anyway (except for those dropped by the device itself). However, when the recording is imported into an application, a good importer may correct such errors more accurately if the advertised sampling rate was close to the specs of the device.