Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys,
I am currently working in socket programming for audio in VC++ MFC. I am using WaveIn API Function. This should work on live audio streaming . In this code once the buffer is full it has to send to the receiver side and play the recorded audio. its works fine. but i need to add two buffers before sending this audio .after adding these two bytes to the buffer it is not working ( it is getting recorded but in the playback side it is not playing it is giving some noise ).what could be the reason for this ?
pls help me in this.Thanks in advance for ur valuable comments
Posted
Comments
Member 9102753 18-Jun-12 3:43am    
why no reply for the above query is that question is not clear?
Code-o-mat 18-Jun-12 5:39am    
Well, a bit hard to guess from that much information, but i supose your added 2 bytes isn't part of the audio stream, so you should not try to play them on the receiver side. Remove them/skip them or something.

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