aboutsummaryrefslogtreecommitdiffstats
path: root/src/dabplus-enc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dabplus-enc.cpp')
-rw-r--r--src/dabplus-enc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dabplus-enc.cpp b/src/dabplus-enc.cpp
index b98fa22..d0130fd 100644
--- a/src/dabplus-enc.cpp
+++ b/src/dabplus-enc.cpp
@@ -987,9 +987,6 @@ int main(int argc, char *argv[])
status & STATUS_UNDERRUN ? "U" : " ",
status & STATUS_OVERRUN ? "O" : " ");
}
-
- peak_right = 0;
- peak_left = 0;
}
else {
if (status & STATUS_OVERRUN) {
@@ -1002,6 +999,9 @@ int main(int argc, char *argv[])
}
+ peak_right = 0;
+ peak_left = 0;
+
status = 0;
}