Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++
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 17-Jun-12 17:14pm
Comments
Member 9102753 at 18-Jun-12 3:43am
   
why no reply for the above query is that question is not clear?
Code-o-mat at 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)



Advertise | Privacy | Mobile
Web02 | 2.8.141015.1 | Last Updated 17 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100