Click here to Skip to main content
15,889,216 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
i'm currently reading the documentation of MSDN to render a stream to an audio renderer.. or in other word, to play my captured data from microphone.

http://msdn.microsoft.com/en-us/library/dd316756%28v=vs.85%29.aspx

this example provides example.

My problem now is that i couldn't really understand the project flow. I currently have a different class storing the below parameters which i obtained from the capture process. these parameters will be continuously re-written as the program captures streaming audio data from the microphone.

BYTE data; UINT32 bufferframecount; DWORD flag; WAVEFORMATEX *pwfx;

My question is, How does really the loadData() function works. is it suppose to grab the parameter i'm writing from capture process? how does the program sends the data to audio renderer, and play it in my speaker.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900