Skip to content

Commit ff8e73f

Browse files
committed
main.cpp: fix comments of if_samples
1 parent e4f5a0e commit ff8e73f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,9 @@ int main(int argc, char **argv) {
976976
continue;
977977
}
978978

979+
// Valid data exists in if_samples
980+
// from here in the for loop
981+
979982
if (modtype == ModType::FM) {
980983
// the minus factor is to show the ppm correction
981984
// to make and not the one which has already been made
@@ -987,10 +990,7 @@ int main(int argc, char **argv) {
987990
// Add 1e-9 to log10() to prevent generating NaN
988991
float if_level_db = 20 * log10(if_level + 1e-9);
989992

990-
// Valid data exists in if_samples
991-
// from here in the for loop
992-
993-
// Decode signal.
993+
// Decode signal from if_samples.
994994
switch (modtype) {
995995
case ModType::FM:
996996
// Decode FM signal.

0 commit comments

Comments
 (0)