Unfortunately I found that if there are some other operations between two successive rtl-sdr sync reads, some samples will be losted. I.e., you will get discontinuos samples sequences. You can verify it by a CW signal generated by a signal generator (use the CW_check_function to see if there is big values in returned r, input are complex IQ samples sequence)