[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

wave playback callback function

I am looking to play a wave (file or resource) using the waveout API calls (waveoutprepareheader, etc.).  I want to do this so I can be notified via callback when the wave has completed playback.  Also I want to be able to know ths position of the wave during playback.  Does anyone have some sample code to open a wave file and create the headers/buffer for playback using this method?
0
dmetzler
Asked:
dmetzler
1 Solution
 
chensuCommented:
There is an example code with Microsoft Visual C++ 16-bit version. It is called "Reverse", it uses mmio functions to open a WAVE file, reverse the samples and play it with waveOut functions. If you cannot get it, I can send it to you by E-Mail (let me know your E-Mail address).
0
 
dmetzlerAuthor Commented:
Chensu,

Yes - please send it to DonMetzler@aol.com

Thanks!

Don
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now