The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
79 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
0answers
82 views

How to get XAudio2 to loop a file?

I am having trouble getting XAudio2 in SharpDX to loop a file I am loading. Class level variables are: Private svc As XAudio2.SourceVoice Private buffer As XAudio2.AudioBuffer Private ss As ...
0
votes
1answer
88 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 command line utility (from the DX ...
0
votes
0answers
101 views

XAudio not playing sound until MessageBox is cleared

I am building a fairly simple game in vb.net using sharpdx to access xaudio2 from .net. I am having an issue were if I play a sound using my audio wrapper library and then display a MessageBox soon ...
3
votes
2answers
665 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
2answers
455 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
1answer
2k 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 ...
-2
votes
1answer
500 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 include folder and found that ...
0
votes
1answer
594 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 ...