summaryrefslogtreecommitdiffstats
path: root/src/input/File.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-11-04 14:57:16 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-11-04 14:57:16 +0100
commit7405d574963abb37732de8a90dd9e42174e0410f (patch)
treef8d195c4b8d72cc0d854ae73e222b4df782e284e /src/input/File.cpp
parent8db328c61832a92bf3f7641061b68767141104f3 (diff)
downloaddabmux-7405d574963abb37732de8a90dd9e42174e0410f.tar.gz
dabmux-7405d574963abb37732de8a90dd9e42174e0410f.tar.bz2
dabmux-7405d574963abb37732de8a90dd9e42174e0410f.zip
Use RawFile for DAB+ and for data
Diffstat (limited to 'src/input/File.cpp')
-rw-r--r--src/input/File.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/File.cpp b/src/input/File.cpp
index eb26136..732f2a2 100644
--- a/src/input/File.cpp
+++ b/src/input/File.cpp
@@ -178,7 +178,7 @@ int MPEGFile::setBitrate(int bitrate)
}
-int DABPlusFile::readFrame(uint8_t* buffer, size_t size)
+int RawFile::readFrame(uint8_t* buffer, size_t size)
{
ssize_t ret = read(m_fd, buffer, size);
@@ -212,7 +212,7 @@ int DABPlusFile::readFrame(uint8_t* buffer, size_t size)
return size;
}
-int DABPlusFile::setBitrate(int bitrate)
+int RawFile::setBitrate(int bitrate)
{
if (bitrate <= 0) {
etiLog.log(error, "Invalid bitrate (%i)\n", bitrate);