Files
game-driver/pkg
mapleafgo b5f7c823c8
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
debug(audio): 添加 Resampler 数据读取测试
为诊断 TTS 音频播放停滞问题,添加手动测试代码验证 Resampler 是否能正常读取音频数据:
- 在 speaker.Play() 前尝试从 Resampler 读取 10 个样本
- 打印读取状态和样本数据,验证数据流是否正常
- 重新创建 Resampler 确保测试不影响正常播放

此调试代码用于确认问题是在 Resampler/WAV 解码层,还是在 speaker/mixer 层

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 16:59:13 +08:00
..
2024-12-19 10:49:02 +08:00
2024-12-09 18:28:36 +08:00
2025-09-26 16:48:11 +08:00