kopia lustrzana https://github.com/f4exb/sdrangel
				
				
				
			Tx refactoring: added some missing method bodies
							rodzic
							
								
									dd7dfae066
								
							
						
					
					
						commit
						34965d3935
					
				| 
						 | 
				
			
			@ -500,4 +500,9 @@ void FileSource::getMagSqLevels(double& avg, double& peak, int& nbSamples) const
 | 
			
		|||
void FileSource::propagateMessageQueueToGUI()
 | 
			
		||||
{
 | 
			
		||||
    m_basebandSource->setMessageQueueToGUI(getMessageQueueToGUI());
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
double FileSource::getMagSq() const
 | 
			
		||||
{
 | 
			
		||||
    return m_basebandSource->getMagSq();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -560,4 +560,23 @@ void UDPSource::networkManagerFinished(QNetworkReply *reply)
 | 
			
		|||
void UDPSource::setLevelMeter(QObject *levelMeter)
 | 
			
		||||
{
 | 
			
		||||
    connect(m_basebandSource, SIGNAL(levelChanged(qreal, qreal, int)), levelMeter, SLOT(levelChanged(qreal, qreal, int)));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
double UDPSource::getMagSq() const
 | 
			
		||||
{
 | 
			
		||||
    return m_basebandSource->getMagSq();
 | 
			
		||||
}
 | 
			
		||||
double UDPSource::getInMagSq() const
 | 
			
		||||
{
 | 
			
		||||
    return m_basebandSource->getInMagSq();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int32_t UDPSource::getBufferGauge() const
 | 
			
		||||
{
 | 
			
		||||
    return m_basebandSource->getBufferGauge();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool UDPSource::getSquelchOpen() const
 | 
			
		||||
{
 | 
			
		||||
    return m_basebandSource->getSquelchOpen();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -144,7 +144,7 @@ public:
 | 
			
		|||
    double getMagSq() const;
 | 
			
		||||
    double getInMagSq() const;
 | 
			
		||||
    int32_t getBufferGauge() const;
 | 
			
		||||
    bool getSquelchOpen();
 | 
			
		||||
    bool getSquelchOpen() const;
 | 
			
		||||
    void setSpectrumSink(BasebandSampleSink* spectrum);
 | 
			
		||||
    void setSpectrum(bool enabled);
 | 
			
		||||
    void resetReadIndex();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -122,6 +122,9 @@ public:
 | 
			
		|||
	void pull(const SampleVector::iterator& begin, unsigned int nbSamples);
 | 
			
		||||
    MessageQueue *getInputMessageQueue() { return &m_inputMessageQueue; } //!< Get the queue for asynchronous inbound communication
 | 
			
		||||
    double getMagSq() const { return m_source.getMagSq(); }
 | 
			
		||||
    double getInMagSq() const { return m_source.getInMagSq(); }
 | 
			
		||||
    int32_t getBufferGauge() const { return m_source.getBufferGauge(); }
 | 
			
		||||
    bool getSquelchOpen() const { return m_source.getSquelchOpen(); }
 | 
			
		||||
    int getChannelSampleRate() const;
 | 
			
		||||
    bool isSquelchOpen() const;
 | 
			
		||||
    void setSpectrumSink(BasebandSampleSink *spectrumSink) { m_source.setSpectrumSink(spectrumSink); }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue