private static void InitializeSoundSystem()
 {
     try
     {
         SoundEffect.PlatformInitialize();
     }
     catch (Exception ex)
     {
         throw new AudioHardwareException("Failed to initialize audio.", ex);
     }
 }