changeset 16:f422d19c0118 default tip

fc-mcsi-rxtx: fix bug in PCM sample Rx
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 29 Oct 2024 01:41:33 +0000
parents 8b49ea8aeb99
children
files sw/mcsi-rxtx/rx_samples.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sw/mcsi-rxtx/rx_samples.c	Mon Oct 28 23:43:10 2024 +0000
+++ b/sw/mcsi-rxtx/rx_samples.c	Tue Oct 29 01:41:33 2024 +0000
@@ -20,6 +20,7 @@
 	for (n = 0; n < 160; n++) {
 		samp = ((unsigned) sp[1] << 8) | ((unsigned) sp[0]);
 		rx_pcm_samples[n] = samp;
+		sp += 2;
 	}
 	record_process();
 }