1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-16 08:25:00 -04:00

Deep redesign: use references for the iterator parameters of the sample sinks feed method

This commit is contained in:
f4exb
2015-08-25 08:24:23 +02:00
parent fb2e601a03
commit 005eae774e
25 changed files with 59 additions and 37 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ public:
virtual void start() = 0;
virtual void stop() = 0;
virtual void feed(SampleVector::const_iterator begin, SampleVector::const_iterator end, bool positiveOnly) = 0;
virtual void feed(const SampleVector::const_iterator& begin, const SampleVector::const_iterator& end, bool positiveOnly) = 0;
virtual bool handleMessage(const Message& cmd) = 0; //!< Processing of a message. Returns true if message has actually been processed
MessageQueue *getInputMessageQueue() { return &m_inputMessageQueue; } //!< Get the queue for asynchronous inbound communication