mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-11-03 21:20:31 -05:00 
			
		
		
		
	Merge pull request #1865 from srcejon/fix_1862
Use channel sample rate of 48k in RTTY and PSK31 mods
This commit is contained in:
		
						commit
						325e4d8ffb
					
				@ -185,7 +185,8 @@ void PSK31Baseband::applySettings(const PSK31Settings& settings, bool force)
 | 
			
		||||
{
 | 
			
		||||
    if ((settings.m_inputFrequencyOffset != m_settings.m_inputFrequencyOffset) || force)
 | 
			
		||||
    {
 | 
			
		||||
        m_channelizer->setChannelization(m_channelizer->getChannelSampleRate(), settings.m_inputFrequencyOffset);
 | 
			
		||||
        // Use fixed sample rate of 48000, so Cosine filter doesn't have a massive number of taps at high baseband sample rates (See #1862)
 | 
			
		||||
        m_channelizer->setChannelization(48000, settings.m_inputFrequencyOffset);
 | 
			
		||||
        m_source.applyChannelSettings(m_channelizer->getChannelSampleRate(), m_channelizer->getChannelFrequencyOffset());
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -185,7 +185,8 @@ void RttyModBaseband::applySettings(const RttyModSettings& settings, bool force)
 | 
			
		||||
{
 | 
			
		||||
    if ((settings.m_inputFrequencyOffset != m_settings.m_inputFrequencyOffset) || force)
 | 
			
		||||
    {
 | 
			
		||||
        m_channelizer->setChannelization(m_channelizer->getChannelSampleRate(), settings.m_inputFrequencyOffset);
 | 
			
		||||
        // Use fixed sample rate of 48000, so Cosine filter doesn't have a massive number of taps at high baseband sample rates (See #1862)
 | 
			
		||||
        m_channelizer->setChannelization(48000, settings.m_inputFrequencyOffset);
 | 
			
		||||
        m_source.applyChannelSettings(m_channelizer->getChannelSampleRate(), m_channelizer->getChannelFrequencyOffset());
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user