summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/odr-sourcecompanion.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/odr-sourcecompanion.cpp b/src/odr-sourcecompanion.cpp
index 0271f50..2fd2b78 100644
--- a/src/odr-sourcecompanion.cpp
+++ b/src/odr-sourcecompanion.cpp
@@ -398,6 +398,11 @@ int main(int argc, char *argv[])
}
}
}
+
+ // TODO get level information from encoder. In the meantime, set to max value to avoid alarms.
+ peak_left = 0x7FFF;
+ peak_right = 0x7FFF;
+
read_bytes = numOutBytes;
if (numOutBytes != 0) {