myriadrf / libxtrx

High-level XTRX API library
Apache License 2.0
28 stars 27 forks source link

test_xtrx_soapy fails to build due to setup stream function change #23

Open ghostop14 opened 4 years ago

ghostop14 commented 4 years ago

The Soapy setupstream function now passes back rxStream as the return value rather than taking it as a parameter.

The setup stream should now look something like this:

SoapySDRStream *rxStream;
rxStream = SoapySDRDevice_setupStream(sdr, SOAPY_SDR_RX, SOAPY_SDR_CF32, NULL, 0, NULL);
if ( rxStream == 0)

rather than this: SoapySDRStream *rxStream; if (SoapySDRDevice_setupStream(sdr, &rxStream, SOAPY_SDR_RX, SOAPY_SDR_CF32, NULL, 0, NULL) != 0) {

ghostop14 commented 4 years ago

Any update on integrating these changes?