Merge remote-tracking branch 'upstream/main' into pr1209-merge

This commit is contained in:
Said Turksever committed 2026-10-28 14:05:40 +00:00
commit 11aad05dc9
807 files changed
+83004 -20993

No files matched your search

+3 -9
View File
@@ -38,12 +38,12 @@ const READ_PIPELINE_DEPTH = 4;
const RATE_WINDOW_MS = 1_000;
// A bulk read that has not completed in this long is treated as a stalled
// USB transfer: the session is torn down instead of waiting forever.
export const SDR_READ_STALL_MS = 5_000;
const SDR_READ_STALL_MS = 5_000;
// Decoder admission. Every block sent to the worker is numbered and must be
// acknowledged; past these bounds the receiver stops with an overload error
// rather than queueing raw IQ the decoder cannot keep up with. Eight 16 ms
// blocks is 128 ms of input, about forty times the measured decode cost.
export const SDR_WORKER_ADMISSION = Object.freeze({
const SDR_WORKER_ADMISSION = Object.freeze({
maxBlocks: 8,
maxBytes: 8 * 65_536,
maxAgeMs: 1_000,
@@ -66,7 +66,7 @@ const DECODER_WINDOW_SAMPLES = 256;
// raw USB device is closed directly, which aborts any pending transfer. The
// raw close is bounded by the same deadline, so a teardown settles within
// twice this even when `USBDevice.close()` itself never settles.
export const SDR_CLOSE_TIMEOUT_MS = 2_000;
const SDR_CLOSE_TIMEOUT_MS = 2_000;
/** Tuning presets per receiver mode; gain is a separate per-mode setting. */
export const SDR_RECEIVER_PRESETS = Object.freeze({
@@ -1908,9 +1908,3 @@ function formatMhz(hz) {
function positiveModulo(value, divisor) {
return ((value % divisor) + divisor) % divisor;
}
export const SDR_FM_BAND = Object.freeze({
minHz: FM_MIN_HZ,
maxHz: FM_MAX_HZ,
});
export const SDR_ADSB_FREQUENCY_HZ = ADSB_FREQUENCY_HZ;
+1 -1
View File
@@ -10,7 +10,7 @@
* about 1 msg/s and 28.0 dB about 9 msg/s on the same antenna.
*/
export const SDR_GAIN_AUTO = 'auto';
const SDR_GAIN_AUTO = 'auto';
/** R820T tuner gain steps in dB, as listed by librtlsdr. */
export const R820T_GAIN_STEPS_DB = Object.freeze([