Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: problem with play_stop() (Read 2228 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

problem with play_stop()

when i call [play_control::get()->play_stop()] playback stops AND the current playlist entry changes to "" (nothing/invisilbe/...). when i doubleclick that entry the text reappers. how can i avoid this strange behavior?

---------------------------------

[EDIT]:

in [Sdk\play_control.h] it reads:
Quote
//important: you should call api commands declared in this header ONLY from main thread !!
//do not call them from a database_lock section, some commands (eg. those stopping playback) will deadlock if you do !


yes, i was calling from another thread. so i guess i got to find another solution...
i know, reading is not that easy sometimes...