What I need is a few functions that will allow me to play a PCM buffer with audio data (raw audio data- PCM), using waveOut APIs!
Here are the functions:
waveOut_Initialize(int SampleRate, int Channels, int Bits);
waveOut_PlayBuffer(short *Data, int size);
The PlayBuffer function will be given a PCM buffer (i.e. like .wav file without header) and its size, and it shall play it. AFTER the playing is over, it shall return value.
I think you have to use double-buffering and callback function to accomplish this, because it migth be given big buffers to play, and I don't want any noises, pauses in playing and anything like that. It must play smoothly.
The code must be in C/C++/Win32.
If you have any questions, please, let me [url removed, login to view]!
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
All Windows OS!