Search found 5 matches

by ERtpl
Tue Jul 18, 2017 4:28 pm
Forum: SDRplay related
Topic: Memory Leak in Github Example
Replies: 1
Views: 273

Memory Leak in Github Example

Hello,

In the play_sdr.c example (https://github.com/SDRplay/examples/blo ... play_sdr.c), it effectively leaks memory during long recordings. In the callback function, buf16 (or buf8) is reallocated every time a packet of samples is received, but not released until the whole program is stopped.
by ERtpl
Wed Jul 05, 2017 12:27 pm
Forum: SDRplay related
Topic: RSP2 Clock Sharing
Replies: 2
Views: 410

RSP2 Clock Sharing

In the application note for using the RSP2 reference clock, it says the clock source must be started before the RSP2 is plugged into the USB port. What behaviour occurs if the RSP2 is plugged in before the clock source is started? It appears that the RSP2 will still run if an external clock is turne...
by ERtpl
Fri Jun 23, 2017 1:10 pm
Forum: SDRplay related
Topic: USB buffer overflow in mir_sdr_SetDeviceIDx routine
Replies: 4
Views: 697

Re: USB buffer overflow in mir_sdr_SetDeviceIDx routine

Thanks for getting back to me. I've raised a support ticket with code/terminal outputs and supporting information. I'm running CentOS 7 which may be the source of some incompatibility. I think I might have been confusing by posting the two separate questions on this thread. For the original post the...
by ERtpl
Thu Jun 22, 2017 5:30 pm
Forum: SDRplay related
Topic: USB buffer overflow in mir_sdr_SetDeviceIDx routine
Replies: 4
Views: 697

Re: USB buffer overflow in mir_sdr_SetDeviceIDx routine

Since I'm having issues with the SetDeviceIdx function, I worked on my own workaround to "lock" the USB devices that I did not want to use, since StreamInit was supposed to connect to the first available device. Instead, StreamInit apparently tries to connect to the first device, regardles...
by ERtpl
Wed Jun 21, 2017 5:01 pm
Forum: SDRplay related
Topic: USB buffer overflow in mir_sdr_SetDeviceIDx routine
Replies: 4
Views: 697

USB buffer overflow in mir_sdr_SetDeviceIDx routine

Hello, I am receiving the following error/output after calling mir_sdr_SetDeviceIdx(device) where device is an int set to 0. mir_sdr_usb_SetDeviceIdx idx=0 numDevices=1 Opened device with idVendor = 0x1df7 idProduct = 0x3010 fwVersion = 0x0207 busNum = 009 portNum = 003 mir_sdr_Init: starting hardwa...

Go to advanced search