![]() |
#1 |
Junior Member
Join Date: Jul 2010
Posts: 2
|
Event on track change?
Hi,
as for now I'm having a endless-loop inside a thread I create when my PlugIn has been loaded and check every 250ms (due to cpu usage) if the track has changed somehow to then start the event. I wonder if there's a better approach (one without that 250ms delay) to do something on track change. If so, please tell me. ![]() Thanks |
![]() |
![]() |
![]() |
#2 |
Junior Member
Join Date: Jul 2010
Posts: 2
|
Help plzzzz
![]() |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Jul 2010
Posts: 1
|
use the callback messages which are sent on status change instead. for example
code: the playing one will be sent whenever you hit play/next track etc... |
![]() |
![]() |
![]() |
#4 |
Join Date: Sep 2003
Posts: 27,873
|
IPC_PLAYING_FILE(W) is much better as that doesn't have the ambiguity which IPC_CB_MISC causes in such situations.
-daz |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|