diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-08-27 11:02:23 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-08-27 11:02:23 +0200 |
commit | 0298076eea4f92685f9a01974261da41c2a01e5b (patch) | |
tree | f72831cd212da64c1a3ea124bb9b590ced8558f2 /src/input/Prbs.h | |
parent | cac39dedee89d62ebf5d0135b84ccaa2e387a7cb (diff) | |
download | dabmux-0298076eea4f92685f9a01974261da41c2a01e5b.tar.gz dabmux-0298076eea4f92685f9a01974261da41c2a01e5b.tar.bz2 dabmux-0298076eea4f92685f9a01974261da41c2a01e5b.zip |
EDI input: add new buffer management
Diffstat (limited to 'src/input/Prbs.h')
-rw-r--r-- | src/input/Prbs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/Prbs.h b/src/input/Prbs.h index b76ffc7..600fd89 100644 --- a/src/input/Prbs.h +++ b/src/input/Prbs.h @@ -38,7 +38,8 @@ namespace Inputs { class Prbs : public InputBase { public: virtual void open(const std::string& name); - 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(); |