diff --git a/plugins/channelrx/demoddatv/readme.md b/plugins/channelrx/demoddatv/readme.md index 3f0d16a3e..f4b1efe2f 100644 --- a/plugins/channelrx/demoddatv/readme.md +++ b/plugins/channelrx/demoddatv/readme.md @@ -51,7 +51,7 @@ This is the constellation of the PSK or QAM synchronized signal. When the demodu
B.2a.1: DATV standard
- DVB-S: DVB-S - - DVB-S2: DVB-S3 and some DVB-S2X + - DVB-S2: DVB-S2 and some DVB-S2X
B.2a.2: Modulation type
diff --git a/plugins/channeltx/modssb/ssbmod.cpp b/plugins/channeltx/modssb/ssbmod.cpp index 757799a4c..ab0b1fb84 100644 --- a/plugins/channeltx/modssb/ssbmod.cpp +++ b/plugins/channeltx/modssb/ssbmod.cpp @@ -108,7 +108,7 @@ SSBMod::SSBMod(DeviceAPI *deviceAPI) : m_audioCompressor.initSimple( - 48000, // fixed 48 kS/s sample rate for audio + m_audioSampleRate, 50, // pregain (dB) -30, // threshold (dB) 20, // knee (dB) @@ -711,6 +711,9 @@ void SSBMod::applyAudioSampleRate(int sampleRate) m_toneNco.setFreq(m_settings.m_toneFrequency, sampleRate); m_cwKeyer.setSampleRate(sampleRate); + m_audioCompressor.m_rate = sampleRate; + m_audioCompressor.initState(); + m_settingsMutex.unlock(); m_audioSampleRate = sampleRate;