Update comment in Azure TTS explaining how we could support dynamic settings updates in the future

This commit is contained in:
Paul Kompfner
2026-02-18 10:07:33 -05:00
parent d7d94a29f0
commit 7910f20e14

View File

@@ -146,8 +146,10 @@ class AzureSTTService(STTService):
# if "language" in changed:
# self._speech_config.speech_recognition_language = self._settings.language
# if self._speech_recognizer:
# self._speech_recognizer.stop_continuous_recognition_async()
# self._speech_recognizer.start_continuous_recognition_async()
# # Requires refactoring to set up and tear down recognizer, as
# # language is applied at recognizer initialization
# await self._disconnect()
# await self._connect()
self._warn_unhandled_updated_settings(changed)