Way2call telephony device is your ultimate telephony integration solution! |
not receiving HP_EVENT_ASYNC_PLAYBACK_DONE |
Post Reply |
Author | |
doronsh
Way2call Joined: Mar 16 2009 Status: Offline Points: 95 |
Post Options
Thanks(0)
Posted: Sep 10 2009 at 7:50pm |
Hi Gordon,
The 'Playback Done' event is triggered (internally in the Hi-Phone DLL) via
a window message. The solution is to 'pump messages' . Note: the 'pumping' thread must be the same thread that called w2cUsbM_InitializeDriver(..) We"ll put a note on it in the SDK. I would appreciate if you can send me a feedback if it works. Best Regards, Doronsh |
|
gymshoe
Newbie Joined: Mar 15 2009 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
Hi, I am using the w2cUsbM_PlayWaveFile() method and everything was working fine. I recently upgraded to W2cMdSDK20090408 and now I do not seem to see the HP_EVENT_ASYNC_PLAYBACK_DONE event after the audio file plays. I am playing the standard c:\windows\media\tada.wav file which is fairly short, I have also tried longer wav files. I am using a headset and I can hear the wav file play properly. My code performs as little processing as possible when an event is delivered, it just places the event on a queue and returns so as to not tie up the thread from the phone device. A separate thread processes the events. I can provide log files or whatever would be useful, not sure if you want that yet. I also upgraded my hi-phone desktop lite to the latest firmware: 5.03.17
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.110 seconds.