Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghostop14 opened this issue Feb 11, 2020 · 1 comment
Open

Comments

@ghostop14
Copy link
Contributor

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
Copy link
Contributor Author

Any update on integrating these changes?

ghostop14 added a commit to ghostop14/libxtrx that referenced this issue Mar 29, 2020
The Soapy setupstream function now passes back rxStream as the
return value rather than taking it as a parameter.  This PR
corrects the code to build correctly and addresses issue myriadrf#23.
chemeris pushed a commit that referenced this issue Mar 30, 2020
The Soapy setupstream function now passes back rxStream as the
return value rather than taking it as a parameter.  This PR
corrects the code to build correctly and addresses issue #23.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant