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

Method onSourceInfoMessage

Default/Inspection/InspToolWidget.cpp:829–837  ·  view source on GitHub ↗

Analyzer slots

Source from the content-addressed store, hash-verified

827
828// Analyzer slots
829void
830InspToolWidget::onSourceInfoMessage(Suscan::SourceInfoMessage const &msg)
831{
832 this->setBandwidthLimits(
833 1,
834 SCAST(unsigned, msg.info()->getSampleRate()));
835
836 this->applySourceInfo(*msg.info());
837}
838
839void
840InspToolWidget::onInspectorMessage(Suscan::InspectorMessage const &msg)

Callers

nothing calls this directly

Calls 4

setBandwidthLimitsMethod · 0.95
infoMethod · 0.80
getSampleRateMethod · 0.45
applySourceInfoMethod · 0.45

Tested by

no test coverage detected