mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
FreeDV demod: a few fixes
This commit is contained in:
parent
74604a25d4
commit
3d48bd576e
@ -611,6 +611,10 @@ void FreeDVDemod::applyFreeDVMode(FreeDVDemodSettings::FreeDVMode mode)
|
||||
freedv_set_ext_vco(m_freeDV, 0);
|
||||
freedv_set_sync(m_freeDV, manualsync);
|
||||
|
||||
freedv_set_callback_txt(m_freeDV, nullptr, nullptr, nullptr);
|
||||
freedv_set_callback_protocol(m_freeDV, nullptr, nullptr, nullptr);
|
||||
freedv_set_callback_data(m_freeDV, nullptr, nullptr, nullptr);
|
||||
|
||||
int nSpeechSamples = freedv_get_n_speech_samples(m_freeDV);
|
||||
int nMaxModemSamples = freedv_get_n_max_modem_samples(m_freeDV);
|
||||
int Fs = freedv_get_modem_sample_rate(m_freeDV);
|
||||
|
@ -259,6 +259,9 @@
|
||||
<pointsize>8</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Channel power</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@ -320,7 +323,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Modem input volume</string>
|
||||
<string>Modem input volume level</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>2.0</string>
|
||||
@ -350,6 +353,9 @@
|
||||
<pointsize>8</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Modem input volume</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@ -373,6 +379,9 @@
|
||||
<height>24</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Audio output volume control</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>99</number>
|
||||
</property>
|
||||
@ -389,6 +398,9 @@
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Audio output volume level </string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>2.0</string>
|
||||
</property>
|
||||
@ -600,7 +612,7 @@
|
||||
<item>
|
||||
<widget class="QSlider" name="spanLog2">
|
||||
<property name="toolTip">
|
||||
<string>Demod frequency span</string>
|
||||
<string>Spectrum display frequency span</string>
|
||||
</property>
|
||||
<property name="minimum">
|
||||
<number>0</number>
|
||||
@ -636,6 +648,9 @@
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Spectrum display frequency span (kHz)</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>6.0k</string>
|
||||
</property>
|
||||
|
@ -691,6 +691,10 @@ void FreeDVMod::applyFreeDVMode(FreeDVModSettings::FreeDVMode mode)
|
||||
freedv_set_tx_bpf(m_freeDV, 1);
|
||||
freedv_set_ext_vco(m_freeDV, 0);
|
||||
|
||||
freedv_set_callback_txt(m_freeDV, nullptr, nullptr, nullptr);
|
||||
freedv_set_callback_protocol(m_freeDV, nullptr, nullptr, nullptr);
|
||||
freedv_set_callback_data(m_freeDV, nullptr, nullptr, nullptr);
|
||||
|
||||
int nSpeechSamples = freedv_get_n_speech_samples(m_freeDV);
|
||||
int nNomModemSamples = freedv_get_n_nom_modem_samples(m_freeDV);
|
||||
int Fs = freedv_get_modem_sample_rate(m_freeDV);
|
||||
|
Loading…
Reference in New Issue
Block a user