| 386 | } |
| 387 | |
| 388 | void |
| 389 | Scanner::setRelativeBw(float ratio) |
| 390 | { |
| 391 | if (ratio > 1) |
| 392 | ratio = 1; |
| 393 | else if (ratio < 2.f / SIGDIGGER_SCANNER_SPECTRUM_SIZE) |
| 394 | ratio = 2.f / SIGDIGGER_SCANNER_SPECTRUM_SIZE; |
| 395 | |
| 396 | this->views[0].fftRelBw = this->views[1].fftRelBw = ratio; |
| 397 | this->relBw = ratio; |
| 398 | } |
| 399 | |
| 400 | SpectrumView & |
| 401 | Scanner::getSpectrumView(void) |
no outgoing calls
no test coverage detected