Here is some sample code that shows how to use the API streaming function with callbacks, written in C#. It was written using Visual Studio 2017, running under Windows 10, 64 bit. The sample project has been configured to compile to 32 bit mode. After unzipping the code to a folder, you will need to place a copy of the 32-bit version of mir_sdr_api.dll from the API in the same folder as the source code. You can download the API from here:
https://www.sdrplay.com/downloads/ Select the Windows tab and click on "API/HW Driver – v2.11 (15th Nov 2017)"
The code will also run in 64-bit mode but you will have to use the 64-bit DLL and change the project properties to compile for 64-bit.
Let me know if you have any problems with the code, it has been tested, but you never know... Good luck
- (19.32 KiB) Downloaded 322 times
Reason: No reason