1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-11-16 13:13:41 -05:00

Interferometer: use new signature for pull virtual method

This commit is contained in:
f4exb 2019-10-22 18:38:36 +02:00
parent 65f1e2a554
commit d9a9ae90c8
2 changed files with 4 additions and 3 deletions

View File

@ -101,9 +101,10 @@ void Interferometer::feed(const SampleVector::const_iterator& begin, const Sampl
m_sink->feed(begin, end, sinkIndex);
}
void Interferometer::pull(Sample& sample, unsigned int sourceIndex)
void Interferometer::pull(const SampleVector::const_iterator& begin, unsigned int nbSamples, unsigned int sourceIndex)
{
(void) sample;
(void) begin;
(void) nbSamples;
(void) sourceIndex;
}

View File

@ -94,7 +94,7 @@ public:
virtual void startSources() {}
virtual void stopSources() {}
virtual void feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, unsigned int sinkIndex);
virtual void pull(Sample& sample, unsigned int sourceIndex);
virtual void pull(const SampleVector::const_iterator& begin, unsigned int nbSamples, unsigned int sourceIndex);
virtual bool handleMessage(const Message& cmd); //!< Processing of a message. Returns true if message has actually been processed
virtual void getIdentifier(QString& id) { id = objectName(); }