aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputs/InputDabplusFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputs/InputDabplusFile.cpp')
-rw-r--r--src/inputs/InputDabplusFile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/inputs/InputDabplusFile.cpp b/src/inputs/InputDabplusFile.cpp
index b55b3d9..ad76f9c 100644
--- a/src/inputs/InputDabplusFile.cpp
+++ b/src/inputs/InputDabplusFile.cpp
@@ -49,7 +49,7 @@
extern TcpLog etiLog;
-int InputDabplusFile::Read(void* buffer, int size)
+int InputDabplusFile::ReadSuperFrame(void* buffer, int size)
{
if (this->buffer.size() != size * 5) {
this->buffer.resize(size * 5);
@@ -73,12 +73,12 @@ int InputDabplusFile::Read(void* buffer, int size)
return size;
}
-int InputDabplusFile::ReadFrame(void* buffer, int size)
+int InputDabplusFile::ReadSource(void* buffer, int size)
{
int result;
uint8_t* dataOut = reinterpret_cast<uint8_t*>(buffer);
- result = Read(dataOut, size);
+ result = ReadSuperFrame(dataOut, size);
if (result == -1) {
etiLog.print(TcpLog::CRIT, "ERROR: Can't read file\n");
perror("");
@@ -92,7 +92,7 @@ int InputDabplusFile::ReadFrame(void* buffer, int size)
return -1;
}
- result = Read(dataOut + sizeOut, size - sizeOut);
+ result = ReadSuperFrame(dataOut + sizeOut, size - sizeOut);
if (result == -1) {
etiLog.print(TcpLog::CRIT, "ERROR: Can't read file\n");
perror("");