Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KiwiSDR: variable sample rate #1523

Closed
f4exb opened this issue Nov 26, 2022 · 0 comments
Closed

KiwiSDR: variable sample rate #1523

f4exb opened this issue Nov 26, 2022 · 0 comments
Milestone

Comments

@f4exb
Copy link
Owner

f4exb commented Nov 26, 2022

Following this post on the Group it appears that some servers use a 20 kS/s sample rate (20250 S/s actually) instead of the fixed 12 kS/s. For now the KiwiSDR plugin assumes always a 12 kS/s rate.

It is possible to get the actual rate by analyzing the value here instead of trying to find the 12000 value. In fact if anything is different the code in the if block is not executed and eventually connection is closed.

A debug message added in this place will show that the actual rate is sent from the server:
2022-11-26 11:29:00.490 (D) KiwiSDRWorker::onBinaryMessageReceived: audio_rate=20250

@f4exb f4exb closed this as completed in 6bba016 Nov 26, 2022
@f4exb f4exb added this to the v7.8.4 milestone Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant