2010-09-22, 22:36
I'm working on EDL muting and as part of this I need to be able to do a one way communication from the DVDPlayer thread to the DVDPlayerAudio thread.
Currently I created a member variable that's part of DVDPlayerAudio that is modified by DVDPlayer (via a DVDPlayerAudio function I created). In the DVDPlayerAudio:rocess function I simply check if this variable has changed and do things accordingly. Is this the correct/approved method?
Or should I be sending some sort of message based on the DVDMsg class. A little confused still on the whole DVDMsg setup. If anyone can shed some light on this and let me know if I should be using it that would be much appreciated.
Thanks,
Harry
Currently I created a member variable that's part of DVDPlayerAudio that is modified by DVDPlayer (via a DVDPlayerAudio function I created). In the DVDPlayerAudio:rocess function I simply check if this variable has changed and do things accordingly. Is this the correct/approved method?
Or should I be sending some sort of message based on the DVDMsg class. A little confused still on the whole DVDMsg setup. If anyone can shed some light on this and let me know if I should be using it that would be much appreciated.
Thanks,
Harry