You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am implementing HackRF support for the fork of 'sdr-server' project. One of the differences between boards is the sample format. As far as I know RTL-SDR outputs unsigned bytes, while HackRF outputs signed bytes.
When I take a look at 'process' function in 'xlating.c', I can see that you are already treating input as signed bytes:
voidprocess(constuint8_t*input, size_tinput_len, floatcomplex**output, size_t*output_len, xlating*filter) {
// input_len cannot be more than (working_len_total - history_offset)// convert to [-1.0;1.0] working buffervolk_8i_s32f_convert_32f_u(filter->working_buffer+filter->history_offset, (constsigned char*) input, 128.0F, input_len);
// ....
}
it works with HackRF (I tested it). But would it actually work correctly with RTL-SDR for values in 128-255 range?
The text was updated successfully, but these errors were encountered:
Hello,
I am implementing HackRF support for the fork of 'sdr-server' project. One of the differences between boards is the sample format. As far as I know RTL-SDR outputs unsigned bytes, while HackRF outputs signed bytes.
When I take a look at 'process' function in 'xlating.c', I can see that you are already treating input as signed bytes:
it works with HackRF (I tested it). But would it actually work correctly with RTL-SDR for values in 128-255 range?
The text was updated successfully, but these errors were encountered: