Print Page | Close Window

HP_EVENT_ASYNC_PLAYBACKDONE

Printed From: Way2call Communications
Category: Hi-Phone Software Development Kit (SDK)
Forum Name: Hi-Phone DLL
Forum Description: Discussion on the Hi-Phone product family, its DLL, samples and development tools
URL: http://www.way2call.com/forum/forum_posts.asp?TID=259
Printed Date: Mar 29 2020 at 5:00pm


Topic: HP_EVENT_ASYNC_PLAYBACKDONE
Posted By: jeppsonj
Subject: HP_EVENT_ASYNC_PLAYBACKDONE
Date Posted: Jun 14 2013 at 3:15pm
I am trying to determine when a wave file has finished playing to the HiPhone.  I am playing the wave file using the w2cUsbM_PlayWaveFile call to play the wave file and that works fine.   The API documentation for the w2cUsbM_PlayWaveFile API states that the HP_EVENT_ASYNC_PLAYBACKDONE event is fired when the playback has finished.  I do not see this event.  I get other events in my HiPhoneCallbackProc routine such as the HPEVT_DEVICE_RESET, HPEVT_LINE_RING_START, HPEVT_LINE_RING_END and most others I have wanted to receive but not the HP_EVENT_ASYNC_PLAYBACKDONE event.  I would also like to detect when a caller hangs up the phone but I don’t see any event when this happens.  Any help you could give me would be greatly appreciated.

-------------
Have a nice day



Print Page | Close Window