summaryrefslogtreecommitdiffstats
path: root/src/dabInput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dabInput.cpp')
-rw-r--r--src/dabInput.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dabInput.cpp b/src/dabInput.cpp
index fa3eece..1ec7c51 100644
--- a/src/dabInput.cpp
+++ b/src/dabInput.cpp
@@ -20,6 +20,7 @@
*/
#include "dabInput.h"
+#include "Log.h"
#include <string.h>
@@ -38,7 +39,7 @@ int dabInputSetbuf(void* args, int size)
int dabInputSetbitrate(dabInputOperations* ops, void* args, int bitrate)
{
if (bitrate <= 0) {
- etiLog.print(TcpLog::ERR, "Invalid bitrate (%i)\n", bitrate);
+ etiLog.log(error, "Invalid bitrate (%i)\n", bitrate);
return -1;
}
if (ops->setbuf(args, bitrate * 3) == 0) {