Click here to Skip to main content
Sign Up to vote bad
good
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:14

Comments
Member 9102753 - 18 Jun '12 - 3:43
why no reply for the above query is that question is not clear?
Code-o-mat - 18 Jun '12 - 5:39
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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Mohammed Hameed 268
1 OriginalGriff 261
2 Mayur_Panchal 153
3 Sergey Alexandrovich Kryukov 148
4 CPallini 96
0 Sergey Alexandrovich Kryukov 8,171
1 OriginalGriff 6,246
2 CPallini 3,532
3 Rohan Leuva 2,703
4 Maciej Los 2,234


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