REVERSE: Demonstrates Multimedia File I/O Services and Waveform Audio Functions

REVERSE is a Microsoft(R) Windows(TM) multimedia application that plays a WAVE waveform audio file in reverse. REVERSE illustrates how to use multimedia file I/O services to read data from a WAVE file and how to use low-level waveform playback functions to play the file.

To use REVERSE, start the application and enter the name of a WAVE file in the text box. REVERSE uses multimedia file I/O services to read data from the specified file. If the file is a proper WAVE file, REVERSE reverses the order of the waveform samples in the file and plays the reversed waveform data. To play the waveform data forward, press RETURN after entering the file name.

REVERSE handles only a single waveform data block. If the requested WAVE file does not fit within a single block, it is not played. The size of a single data block depends on available system memory.

REVERSE was built and tested under Microsoft Windows version 3.1.

KEYWORDS: waveOutRequest; waveOutUnprepareHeader; waveOutClose; SetFocus; mmioOpen; mmioDescend; mmioClose; mmioFOURCC; mmioRead; waveOutOpen; mmioAscend; waveOutPrepareHeader; waveOutWrite;

{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the reverse project." /C"samples}