Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On Xbox360 XHV2 is used for dealing with voice data, and XAudio2 is used for the low-level processing of that data. What is the XHV2 equivalent under Windows, assuming FMOD is used for the low-level audio processing? Previously DirectPlay.Voice was used to facilitate this.

share|improve this question
up vote 2 down vote accepted

There isn't any standard feature built into Windows for this that I know of. There are libraries that will do it for you like RakVoice for example, although that's integrated with RakNet. I believe the Steam APIs also have it built in.

Unfortunately Fmod lists it's voice chat support as coming in a future version - see and click on "Enhanced Internet Features".

That means you'll probably have to do it manually:

  1. Record audio from a microphone.
  2. Optionally process the audio to improve voice clarity. Compress it for example.
  3. Encode it using a low bandwidth and low latency codec like SPEEX.
  4. Send it across the network.
  5. Decode it at the other end.
  6. Play it back.

Fmod obviously has APIs for steps 1 and 6. It also has audio codec support so it should help a bit with step 3 and 5. The main thing you need to do is step 4.

share|improve this answer
Ohh, good call on RakNet. The code I'm looking at is using RakNet, but I didn't even realize that there was RakVoice. – Jim Buck Oct 19 '11 at 22:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.