?
Solved

wave playback callback function

Posted on 1997-06-12
2
Medium Priority
?
370 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 300 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses

770 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