ak1394 / react-native-tts

React Native Text-To-Speech library for Android and iOS
618 stars 156 forks source link

fix: ensure ducking is audio focus is sent always send when speek is called multiple times #217

Open freeboub opened 2 years ago

freeboub commented 2 years ago

if you enable duck option and call mulitple times speek function. AUDIO_DUCK is send only once on the first call. To ensure AUDIO_DUCK is always call, move the event when tts start speeking

freeboub commented 2 years ago

If you need I can open a related ticket to explain better the issue and for better tracking.