From eb11e68412b49b0945ab6bb332ac9486f1ebeb9e Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 30 Apr 2018 20:12:42 +0200 Subject: Add support for interleaved R/G samples This is useful for transmitting complex I/Q data on the red and green DACs --- include/osmo-fl2k.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/osmo-fl2k.h') 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 */ -- cgit v1.2.3