Solved

wave playback callback function

Posted on 1997-06-12
2
356 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
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 100 total points
Comment Utility
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
Comment Utility
Chensu,

Yes - please send it to DonMetzler@aol.com

Thanks!

Don
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 47
Replacement selected text 2 47
Prevent this page from creating additional dialogs. 3 249
NotAlone Challenge 20 70
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: 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.
This video discusses moving either the default database or any database to a new volume.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now