Daniel Lutton
Daniel Lutton
Can you provide more code of what you're trying to do when receiving that error? I'm not able to replicate this issue. Also this could be device related or something...
@skvasov sure, it doesn't seem overly complicated. I believe in your case you're looking to use https://developer.android.com/reference/android/media/AudioManager#AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK
@seanradford I agree it would be helpful to allow playback settings through that package, but we should also have the ability to do so without the assistance of another package.
@tamas-p that's great and thank you for the example. I still plan on adding a simple implementation of this to flutter_tts so you'll have the option either way.
Try to set languages in a FutureBuilder. I updated the example with something similar.
can you provide an example of the text you're using?
For 1 where you say "Says Hindi in British English", what's the language you're setting it to? Also, the only TTS engine being used for Android in this package is...
@dashanan13 Unfortunately I'm not able to recreate the issue on an emulator and I don't have those devices to test with. Do you experience the same results when using an...
Are you requesting this for Android and iOS? I don't believe the speak method returns anything for iOS, however it does for Android as you mentioned.
@AkshatGiri Which Android API and device/emulator are you using?