MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / feedSpectrum

Method feedSpectrum

Default/GenericInspector/GenericInspector.cpp:326–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324
325
326void
327GenericInspector::feedSpectrum(
328 const SUFLOAT *data,
329 SUSCOUNT len,
330 SUSCOUNT rate,
331 uint32_t id)
332{
333 if (id != this->lastSpectrumId) {
334 this->lastSpectrumId = id;
335 this->ui->resetSpectrumLimits();
336 }
337
338 if (len > 0)
339 this->ui->feedSpectrum(data, len, rate);
340}
341
342void
343GenericInspector::showEvent(QShowEvent *)

Callers 1

inspectorMessageMethod · 0.95

Calls 1

resetSpectrumLimitsMethod · 0.80

Tested by

no test coverage detected