SAMPLE: PLAYWAVE.EXE Demonstrates How To Play a Sound File
Article ID: 182983
Article Last Modified on 8/9/2004
APPLIES TO
- Microsoft Visual Basic 5.0 Learning Edition
- Microsoft Visual Basic 6.0 Learning Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q182983
SUMMARY
PLAYWAVE.EXE is a self-extracting compressed file that
demonstrates how to play uncompressed sound files in your Visual Basic program.
The sample also displays the wave data graphically. The project also
demonstrates how to use some of the multimedia API functions.
REFERENCES
For more information about using the multimedia API
functions, please see the following topics in the Platform SDK documentation:
- Multimedia Reference
- WaveForm Audio
- WaveForm Functions
The following functions are used in this sample project. For
specific information about these functions, see the Platform SDK documentation:
- Memory Management Functions
GlobalAlloc
GlobalLock
GlobalFree Lib
- Multimedia Functions
mmioAscend
mmioClose
mmioDescend
mmioDescendParent
mmioOpen
mmioRead
mmioReadFormat
mmioStringToFOURCC
waveOutAddBuffer
waveOutClose
waveOutGetDevCaps
waveOutGetNumDevs
waveOutOpen
waveOutPrepareHeader
waveOutReset
waveOutStart
waveOutStop
waveOutUnprepareHeader
waveOutWrite
Additional query words: Playwave
Keywords: kbhowto kbdownload kbwaveaudio kbfile kbsample kbsound KB182983