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

Method setSampleRate

UIMediator/UIMediator.cpp:641–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639}
640
641void
642UIMediator::setSampleRate(unsigned int rate)
643{
644 if (this->rate != rate) {
645 unsigned int bw = rate / 30;
646
647 this->ui->spectrum->setSampleRate(rate);
648 this->setBandwidth(bw);
649
650 this->rate = rate;
651 }
652}
653
654void
655UIMediator::setState(State state, Suscan::Analyzer *analyzer)

Callers 2

feedPSDMethod · 0.95
refreshProfileMethod · 0.95

Calls 1

setBandwidthMethod · 0.95

Tested by 1

feedPSDMethod · 0.76