Solved

wave playback callback function

Posted on 1997-06-12
2
363 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

Suggested Solutions

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.

735 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