Fix DAB+ audio sample rate issues using ffmpeg resampling (PR #419)

- owrx/dab/dablin.py: pipe dablin output through ffmpeg to resample to 48kHz
- docker/scripts/install-dependencies.sh: add sox to static packages
- Dockerfile.hotfix: optional hotfix image with dablin from source + ffmpeg/sox

Upstream PR: https://github.com/jketterl/openwebrx/pull/419
This commit is contained in:
DevBench 2026-02-04 18:06:16 +00:00
parent d9fb221f34
commit bf14836415

View file

@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y sox ffmpeg libfaad2 libmpg123-0 libsdl2
# Copy new dablin binary
COPY --from=builder /src/dablin/build/src/dablin /usr/local/bin/dablin
# Patch files
# Patch files (PR #419: DAB+ sample rate fix via ffmpeg resampling)
COPY owrx/dab/dablin.py /opt/openwebrx/owrx/dab/dablin.py
COPY csdr/chain/dablin.py /opt/openwebrx/csdr/chain/dablin.py