[SOLVED] Playing sound effect with DirectX

Hi !

When I play a sound effect I hear no sound

  • The game is build upon MonoGame 3.6 for DirectX
  • The sound is processed as sound effect xnb file from an stereo ogg

I tried with an openGL solution and it works fine, I can hear the sound with the correct audio volume…

Sould I install somme old DirectX or something ?

Thanks in advance for your help !!

Can you post the code how you load the file and then how you play it? That may help.

Here’s my code, tha same as OpenGL version.

SoundEffectInstance newInstance = FXSelect.CreateInstance();
newInstance.Volume = 1.0f;

I added the june update of directX and the sound plays now properly.