mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-25 12:07:49 +02:00
Fixed stall
This commit is contained in:
@ -46,13 +46,11 @@ void SigPath::init(std::string vfoName, uint64_t sampleRate, int blockSize) {
|
||||
ssbDemod.init(vfo->output, 6000, 3000, dsp::SSBDemod::MODE_USB);
|
||||
|
||||
audioWin.init(24000, 24000, 200000);
|
||||
audioResamp.init(&DUMMY_STREAM, &audioWin, 200000, 48000);
|
||||
audioResamp.init(&demod.out, &audioWin, 200000, 48000);
|
||||
audioWin.setSampleRate(audioResamp.getInterpolation() * 200000);
|
||||
audioResamp.updateWindow(&audioWin);
|
||||
|
||||
deemp.init(&audioResamp.out, 48000, 50e-6);
|
||||
|
||||
ns.init(&demod.out);
|
||||
|
||||
outputSampleRate = audio::registerMonoStream(&deemp.out, vfoName, vfoName, sampleRateChangeHandler, this);
|
||||
|
||||
@ -287,7 +285,6 @@ void SigPath::setBandwidth(float bandWidth) {
|
||||
void SigPath::start() {
|
||||
demod.start();
|
||||
audioResamp.start();
|
||||
//deemp.start();
|
||||
ns.start();
|
||||
deemp.start();
|
||||
audio::startStream(vfoName);
|
||||
}
|
@ -63,10 +63,6 @@ private:
|
||||
dsp::filter_window::BlackmanWindow audioWin;
|
||||
dsp::PolyphaseResampler<float> audioResamp;
|
||||
|
||||
// Debug
|
||||
dsp::NullSink<float> ns;
|
||||
dsp::stream<float> DUMMY_STREAM;
|
||||
|
||||
std::string vfoName;
|
||||
|
||||
float sampleRate;
|
||||
|
Reference in New Issue
Block a user