flexiblefactory

Results 6 comments of flexiblefactory

We are also having this 'non-issue' ;) Is there a reason why `ALLOW_MEMORY_GROWTH` cannot be used? Can you point to the part of the project where this emscripten compilation is...

I came across this exact same case. All text that is going to end up in the HTML needs to be HTML encoded. I'm guessing there are other similar cases.

I think something like this could be the fix: ``` // Reset the audio session category to normal after TTS finishes public func speechSynthesizer(_ synthesizer: AVSpeechSynthesizer, didCancel utterance: AVSpeechUtterance) {...

I have tested calling `AVAudioSession.sharedInstance().setActive(false))` after the speech and confirmed that this is the fix to restore normal audio volume to other applications

It is a plugin currently and works as a workaround. I do think it would make sense for the changes above to be integrated into the TTS plugin.

The other aspect to this is that the plugin also sets active `true` at startup time, causing other audio to "duck" as soon as the plugin loads (and then ducking...