Skip to content
Discussion options

You must be logged in to vote

Hmm, I am not able to see any issue. To me it makes perfect sense that you can only push play() on something that is stopped or suspended and that you can stop() only something that is playing. I would suggest that you deactivate the buttons that are not valid at the actual state.
I would recommend to use the set_on_audio_state_changed() callback method so that you are informed about state changes.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@windorey
Comment options

@pschatzmann
Comment options

Answer selected by pschatzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants