Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[text-to-speech] Provide functionality to stop the StreamPlayer #21

Closed
hendrawd opened this issue Dec 21, 2016 · 3 comments
Closed

[text-to-speech] Provide functionality to stop the StreamPlayer #21

hendrawd opened this issue Dec 21, 2016 · 3 comments
Assignees

Comments

@hendrawd
Copy link
Contributor

As asked in http://stackoverflow.com/questions/41256985/how-to-stop-streamplayer-of-ibm-watson-text-to-speech

I want to stop StreamPlayer when quitting an Activity where the StreamPlayer play the audio. How i can achieve that with the current sdk?

sdk used

compile 'com.ibm.watson.developer_cloud:java-sdk:3.5.3'
compile 'com.ibm.watson.developer_cloud:android-sdk:0.2.1'
@germanattanasio
Copy link
Contributor

I think this is particular of Android so I will let @blakesteve answer it

@Hsaylor
Copy link
Contributor

Hsaylor commented Feb 3, 2017

I believe this functionality should have been added with #26. Can you confirm/deny @blakesteve ?

@blakesteve
Copy link
Contributor

Agreed, calling interrupt provides the requested functionality. Thanks Harrison, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants