if chat room members is 4 and each have mic
the server receive the 4 packets and resend it in the same order
here more delay in the client to run packet 1 and 2 .....
i want to merge the sound and send it
to be in the real time
how to merge more than sound buffer in one buffer????
and how to get the sound loud (pcm format)????
thanks again

Recommended Answers

All 3 Replies

Are you really sure that this is a problem? Processing buffers at the server will take negligible time compared to the transmission times to the clients. Unless you are using some kind of broadcast technology the data still has to be sent to each client, so where will you reduce delay significantly?
It's always a mistake to start optimising an application before you have identified a definite problem.

What exactly is the requirement for "loud"? The format in which the sound is encoded will not affect how loud it is.

thanks for reply
"It's always a mistake to start optimising an application before you have identified a definite problem."
ok you are right

i made an application that send and receive the sound using UDP what i really need now to loud it as possible
and using filters like echo and noise filter and so on
if u can help me please do it
thanks again

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.