]> git.basschouten.com Git - openhab-addons.git/commit
[googletts] Use returned sound to get play informations (#11877)
authordalgwen <dalgwen@users.noreply.github.com>
Fri, 7 Jan 2022 23:44:28 +0000 (00:44 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Jan 2022 23:44:28 +0000 (00:44 +0100)
commit82974b4c2f28ba005b399ac2d8fb4b986749423d
tree3a0c30d5cde9387dbeb54e9fde59323a6b8f7ace
parent65002647df35e0dfa92ec987da3cfe1fadf658ea
[googletts] Use returned sound to get play informations (#11877)

* [googletts] Use real sound returned to get play informations (#10015)

When google tts returns a wav file, it is now parsed to get correct informations about it.(mandatory for playing it with at least the System speaker audio sink)
Close #10015

* Fix a regression, as the WAV fix was incorrectly applied to the MP3 file

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
bundles/org.openhab.voice.googletts/src/main/java/org/openhab/voice/googletts/internal/GoogleTTSService.java