aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/File.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-11-04 14:49:11 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-11-04 14:49:11 +0100
commit8db328c61832a92bf3f7641061b68767141104f3 (patch)
tree831510d5b03363ed8a5d0bcb75360ed48f599b33 /src/input/File.h
parentfde78e58eb3c48135b6d96680fca7eb3d617f940 (diff)
downloaddabmux-8db328c61832a92bf3f7641061b68767141104f3.tar.gz
dabmux-8db328c61832a92bf3f7641061b68767141104f3.tar.bz2
dabmux-8db328c61832a92bf3f7641061b68767141104f3.zip
Change readFrame argument types
Diffstat (limited to 'src/input/File.h')
-rw-r--r--src/input/File.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/File.h b/src/input/File.h
index 61be8b1..01f4f21 100644
--- a/src/input/File.h
+++ b/src/input/File.h
@@ -36,7 +36,7 @@ namespace Inputs {
class FileBase : public InputBase {
public:
virtual int open(const std::string& name);
- virtual int readFrame(void* buffer, int size) = 0;
+ virtual int readFrame(uint8_t* buffer, size_t size) = 0;
virtual int setBitrate(int bitrate) = 0;
virtual int close();
@@ -52,7 +52,7 @@ class FileBase : public InputBase {
class MPEGFile : public FileBase {
public:
- virtual int readFrame(void* buffer, int size);
+ virtual int readFrame(uint8_t* buffer, size_t size);
virtual int setBitrate(int bitrate);
private:
@@ -61,7 +61,7 @@ class MPEGFile : public FileBase {
class DABPlusFile : public FileBase {
public:
- virtual int readFrame(void* buffer, int size);
+ virtual int readFrame(uint8_t* buffer, size_t size);
virtual int setBitrate(int bitrate);
};