Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [xaudio2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
126 views

Untraceable exception in XAudio dll

I'm developing a game using OpenGL and XAudio 2.9. For some reason I am getting an exception in release builds inside the XAudio dll. Here is the exception : Exception thrown at 0x00007FFBB5416EF1 (...
Mike F's user avatar
  • 93
0 votes
1 answer
115 views

XAudio2 mono source played as a 3D sound is heard only in right speaker, regardless of distance and position

I am having problem setting up a 3D space sound effect in XAudio2. The sound effect that I am using is mono but the result is playing constantly, irrelevant from the distance and positioning of the ...
Mike F's user avatar
  • 93
0 votes
2 answers
1k views

Using XAudio2 to Process Microphone Input

I am trying to come up with a solution to process microphone input for a game. Not entirely sure where to start. I was looking into using XAudio2, but it doesn't seem to have support for microphone ...
user2970916's user avatar
1 vote
1 answer
177 views

Why my game is running slowly if it was launched from a wpf application?

i have some issues why my GameEditor. I would start my XNA project from it, like a debug-client. It opens and all works fine, but it runs on 45 frames until I hide the wpf form. then the framerate ...
EnemyArea's user avatar
  • 118
0 votes
1 answer
387 views

Converted XWM(A) files get silence at the end

I am writing a playback mechanism for looping background music with XAudio2 and SharpDX. I converted some perfectly looping WAV files to XWM(A) with the xWMAEncode ...
Ray's user avatar
  • 623
3 votes
2 answers
2k views

How to correctly Dispose a SourceVoice once its finished

i am starting to play a sound with XAudio2 and SourceVoice and once its finished, it should be correctly disposed to not have any leaks. i was expecting it to be something like this: ...
clamp's user avatar
  • 563
2 votes
2 answers
3k views

XAudio2: how to convert seconds to samples

in the Xaudio2 API you can specify the start and endposition only in samples. but i require them to be set by seconds. now i am looking for a way to convert seconds into samples but havent found ...
clamp's user avatar
  • 563
0 votes
1 answer
4k views

Latency difference between DirectSound and XAudio2

As far as I understand the WDM, DirectSound drivers cannot be hardware accelerated on Windows Vista and newer. Is XAudio2 affected as well? Or in other terms: in latency terms is it definitely better ...
Panda Pajama's user avatar
  • 13.4k
-1 votes
1 answer
1k views

What is the XACT API? [closed]

I wanted to use DirectMusic in my game, but it's not in the June 2010 SDK, so I thought that I had to use DirectSound. Then I saw the XAudio2.h header in the SDK's ...
EddieV223's user avatar
  • 427
0 votes
1 answer
837 views

Why do I get an exception when playing multiple sound instances?

Right now, I'm adding a rudimentary sound engine to my game. So far, I am able to load in a WAV file and play it once, then free up the memory when I close the game. However, the game crashes with a ...
jmegaffin's user avatar
  • 4,923