aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-fl2k.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-04-30 20:12:42 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-05-20 19:45:38 +0200
commiteb11e68412b49b0945ab6bb332ac9486f1ebeb9e (patch)
tree768091baf5dd8150d33b3f8275316bb92d31608e /include/osmo-fl2k.h
parent16b102efcdae6c33b1761e4f2da8c507eed03bb4 (diff)
downloadosmo-fl2k-eb11e68412b49b0945ab6bb332ac9486f1ebeb9e.tar.gz
osmo-fl2k-eb11e68412b49b0945ab6bb332ac9486f1ebeb9e.tar.bz2
osmo-fl2k-eb11e68412b49b0945ab6bb332ac9486f1ebeb9e.zip
Add support for interleaved R/G samples
This is useful for transmitting complex I/Q data on the red and green DACs
Diffstat (limited to 'include/osmo-fl2k.h')
-rw-r--r--include/osmo-fl2k.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmo-fl2k.h b/include/osmo-fl2k.h
index 8d3cc3b..6a1b3ee 100644
--- a/include/osmo-fl2k.h
+++ b/include/osmo-fl2k.h
@@ -50,6 +50,9 @@ typedef struct fl2k_data_info {
/* filled in by application */
int sampletype_signed; /* are samples signed or unsigned? */
+ /* Either iq_buf or (r_buf, g_buf and b_buf) must be non-null */
+ char *iq_buf; /* pointer to data containing interleaved r and g
+ data */
char *r_buf; /* pointer to red buffer */
char *g_buf; /* pointer to green buffer */
char *b_buf; /* pointer to blue buffer */