Thanks for your answer. I increased the size of the output buffer but, I'm still having the problem. With a buffer of 262144 bytes, at 2.048 Ms/s, it should be full every 16ms, but my program indicates 64ms. Could it be due to a limitation on USB ports, or on my Device (Terratec Cinergy TStick RC) ?
Cheers Frederic
-----Message d'origine----- De : Sylvain Munaut [mailto:246tnt@gmail.com] Envoyé : lundi 17 décembre 2012 10:26 À : EVENNOU Frederic OLNC/OLPS Cc : osmocom-sdr@lists.osmocom.org Objet : Re: Information about the sampling rate of the RTLSDR driver
Hi,
and my storing buffer is 8*1024 bytes, so I expect receiving 1024 I/Q samples every 500 microseconds.
This looks awefully small, try a larger buffer ... too small buffers cause too much overhead and can cause overruns ... default buffer size is 262144 , try with that.
Cheers,
Sylvain
_________________________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for messages that have been modified, changed or falsified. Thank you.