MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / checkSampleRate

Method checkSampleRate

src/modules/modem/ModemDigital.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21int ModemDigital::checkSampleRate(long long sampleRate, int /* audioSampleRate */) {
22 if (sampleRate < MIN_BANDWIDTH) {
23 return MIN_BANDWIDTH;
24 }
25 return (int)sampleRate;
26}
27
28ModemKit *ModemDigital::buildKit(long long sampleRate, int audioSampleRate) {
29 auto *dkit = new ModemKitDigital;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected