This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//----------------------------------------------------------- | |
// Play an audio stream on the default audio rendering | |
// device. The PlayAudioStream function allocates a shared | |
// buffer big enough to hold one second of PCM audio data. | |
// The function uses this buffer to stream data to the | |
// rendering device. The inner loop runs every 1/2 second. | |
//----------------------------------------------------------- | |
#include <iostream> | |
#include <windows.h> |
OlderNewer