From 1650cc5ad2eba4fb8857ffc920170ae0f9f1a18d Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Fri, 17 Nov 2017 22:51:18 +0100 Subject: Restructure: Move sdr from common code to 'libsdr' --- src/libsdr/soapy.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/libsdr/soapy.h (limited to 'src/libsdr/soapy.h') 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); + -- cgit v1.2.3