FreeCalypso > hg > fc-pcm-if
comparison sw/mcsi-rxtx/rx_samples.c @ 9:62579cfff4fc
fc-mcsi-rxtx: more proper integration with ttyhacks
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 28 Oct 2024 06:02:04 +0000 |
parents | 8a386263dd51 |
children | c1d9b5d128f5 |
comparison
equal
deleted
inserted
replaced
8:ee14dd81bba1 | 9:62579cfff4fc |
---|---|
3 */ | 3 */ |
4 | 4 |
5 #include <sys/types.h> | 5 #include <sys/types.h> |
6 #include <stdio.h> | 6 #include <stdio.h> |
7 | 7 |
8 extern int is_active; | |
9 | |
8 u_short rx_pcm_samples[160]; | 10 u_short rx_pcm_samples[160]; |
9 | 11 |
12 void | |
10 process_rx_block(buf) | 13 process_rx_block(buf) |
11 u_char *buf; | 14 u_char *buf; |
12 { | 15 { |
13 unsigned n, samp; | 16 unsigned n, samp; |
14 u_char *sp; | 17 u_char *sp; |