aboutsummaryrefslogtreecommitdiffstats
path: root/src/libsdr/soapy.h
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-11-17 22:51:18 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2017-12-03 08:45:45 +0100
commit1650cc5ad2eba4fb8857ffc920170ae0f9f1a18d (patch)
tree8af7057e2205de7548c70998c46e5ede8eabbad4 /src/libsdr/soapy.h
parent45a5568f7032b11953d6ac4321970d5780eaf613 (diff)
Restructure: Move sdr from common code to 'libsdr'
Diffstat (limited to 'src/libsdr/soapy.h')
-rw-r--r--src/libsdr/soapy.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libsdr/soapy.h b/src/libsdr/soapy.h
new file mode 100644
index 0000000..702890b
--- /dev/null
+++ b/src/libsdr/soapy.h
@@ -0,0 +1,8 @@
+
+int soapy_open(size_t channel, const char *_device_args, const char *_stream_args, const char *_tune_args, const char *tx_antenna, const char *rx_antenna, double tx_frequency, double rx_frequency, double rate, double tx_gain, double rx_gain, double bandwidth);
+int soapy_start(void);
+void soapy_close(void);
+int soapy_send(float *buff, int num);
+int soapy_receive(float *buff, int max);
+int soapy_get_tosend(int latspl);
+