You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(voice): use file-size based duration for Windows audio playback
pocket-tts can produce WAV files with malformed headers (reporting
1 billion frames instead of the actual count). The previous fix used
MediaPlayer.NaturalDuration which read the bogus header, causing
playback to either hang or cut off unpredictably.
Now calculates duration directly from file size using the known
pocket-tts output format (24kHz, 16-bit, mono WAV). This is reliable
regardless of header accuracy.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments