aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M
diff options
context:
space:
mode:
Diffstat (limited to 'Transceiver52M')
-rw-r--r--Transceiver52M/radioIOResamp.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/Transceiver52M/radioIOResamp.cpp b/Transceiver52M/radioIOResamp.cpp
index 3918068..8e8ac75 100644
--- a/Transceiver52M/radioIOResamp.cpp
+++ b/Transceiver52M/radioIOResamp.cpp
@@ -51,8 +51,16 @@ signalVector *rx_hist = 0;
signalVector *tx_vec = 0;
signalVector *rx_vec = 0;
-/* High rate (device facing) buffers */
-short tx_buf[INCHUNK * 2 * 2];
+/*
+ * High rate (device facing) buffers
+ *
+ * Transmit side samples are pushed after each burst so accomodate
+ * a resampled burst plus up to a chunk left over from the previous
+ * resampling operation.
+ *
+ * Receive side samples always pulled with a fixed size.
+ */
+short tx_buf[INCHUNK * 2 * 4];
short rx_buf[OUTCHUNK * 2 * 2];
/*