From 0298076eea4f92685f9a01974261da41c2a01e5b Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 27 Aug 2019 11:02:23 +0200 Subject: EDI input: add new buffer management --- src/input/Zmq.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/input/Zmq.h') diff --git a/src/input/Zmq.h b/src/input/Zmq.h index 2b42872..899d6f2 100644 --- a/src/input/Zmq.h +++ b/src/input/Zmq.h @@ -2,7 +2,7 @@ Copyright (C) 2009 Her Majesty the Queen in Right of Canada (Communications Research Center Canada) - Copyright (C) 2017 Matthias P. Braendli + Copyright (C) 2019 Matthias P. Braendli http://www.opendigitalradio.org ZeroMQ input. see www.zeromq.org for more info @@ -182,7 +182,8 @@ class ZmqBase : public InputBase, public RemoteControllable { } virtual void open(const std::string& inputUri); - virtual int readFrame(uint8_t* buffer, size_t size); + virtual size_t readFrame(uint8_t *buffer, size_t size); + virtual size_t readFrame(uint8_t *buffer, size_t size, uint32_t seconds, uint32_t tsta); virtual int setBitrate(int bitrate); virtual void close(); -- cgit v1.2.3