taixf/backend/main/xiaozhi-server/core
hailin 5679622996 fix: resample TTS audio from 44100Hz to 24000Hz for device compatibility
Model outputs 44100Hz but device expects 24000Hz via Opus. Without
resampling, audio plays at wrong speed causing 29s delays between
segments. Verified: synthesis+resample takes 0.38s for 1.6s audio.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 23:11:48 -07:00
..
api add backend code 2026-04-05 19:01:15 +00:00
handle add backend code 2026-04-05 19:01:15 +00:00
providers fix: resample TTS audio from 44100Hz to 24000Hz for device compatibility 2026-04-05 23:11:48 -07:00
utils add backend code 2026-04-05 19:01:15 +00:00
auth.py add backend code 2026-04-05 19:01:15 +00:00
connection.py add backend code 2026-04-05 19:01:15 +00:00
http_server.py add backend code 2026-04-05 19:01:15 +00:00
websocket_server.py add backend code 2026-04-05 19:01:15 +00:00