Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
2answers
278 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
135 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
790 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
315 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
354 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 ...