Questions tagged [xaudio2]
The xaudio2 tag has no summary.
10 questions
0
votes
1
answer
198
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 (...
0
votes
1
answer
167
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 ...
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 ...
1
vote
1
answer
209
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 ...
0
votes
1
answer
445
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 ...
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:
...
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 ...
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 ...
-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 ...
0
votes
1
answer
861
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 ...