Solved

wave playback callback function

Posted on 1997-06-12
2
367 Views
Last Modified: 2013-11-20
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
Comment
Question by:dmetzler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 100 total points
ID: 1302092
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
 

Author Comment

by:dmetzler
ID: 1302093
Chensu,

Yes - please send it to DonMetzler@aol.com

Thanks!

Don
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question