Fix audio dependency to use ffmpeg instead of sox

The Listening Post actually uses ffmpeg for audio encoding, not sox.
Updated all documentation, setup scripts, and code to reflect this:

- Removed unused find_sox() function from listening_post.py
- Simplified tools endpoint to only check for ffmpeg
- Updated CHANGELOG, README, HARDWARE.md, Dockerfile
- Fixed setup.sh to check for ffmpeg
- Updated frontend warnings to mention ffmpeg

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-01-06 20:53:54 +00:00
parent a90674c3a9
commit e09c78de5d
8 changed files with 24 additions and 36 deletions
+4 -4
View File
@@ -8775,7 +8775,7 @@
// ============================================
let isAudioPlaying = false;
let audioToolsAvailable = { rtl_fm: false, audio_player: false };
let audioToolsAvailable = { rtl_fm: false, ffmpeg: false };
// Web Audio API for visualization
let visualizerContext = null;
@@ -8919,14 +8919,14 @@
.then(r => r.json())
.then(data => {
audioToolsAvailable.rtl_fm = data.rtl_fm;
audioToolsAvailable.can_stream = data.can_stream;
audioToolsAvailable.ffmpeg = data.ffmpeg;
const warnings = [];
if (!data.rtl_fm) {
warnings.push('rtl_fm not found - install rtl-sdr tools');
}
if (!data.can_stream) {
warnings.push('No audio encoder (ffmpeg/sox) - install: brew install ffmpeg (macOS) or apt install ffmpeg (Linux)');
if (!data.ffmpeg) {
warnings.push('ffmpeg not found - install: brew install ffmpeg (macOS) or apt install ffmpeg (Linux)');
}
const warningDiv = document.getElementById('audioToolsWarning');