mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
97f2ff2cac7bfaeef8ee77dd860ba513a5112abb
- Update TTSManager to accept an optional abort signal, allowing for graceful cancellation of TTS playback. - Implement abort handling in the generateAndWaitForPlayback method to clean up pending playbacks and reject promises when playback is aborted. - Modify Session class to pass the abort signal during TTS generation, improving control over playback interruptions. These changes improve the robustness of the voice assistant's TTS functionality and enhance user experience by allowing for better management of audio playback.
Languages
TypeScript
98.1%
JavaScript
1.3%
Shell
0.1%
Swift
0.1%