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