Hi everybody, I'm trying to play a SoundEffect but it sounds with a kind of echo, I'm playing it this way:
--C# code--
SoundEffect mySoundEffect;
mySoundEffect = Content.Load<SoundEffect>("Audio\\Waves\\puchun");
mySoundEffect.Play();
--end--
The only way I can remove that echo is playing it with a SoundEffectInstance and checking if it is null or not, like this:
--C# code--
SoundEffectInstance mySoundEffectInstance;
SoundEffect mySoundEffect;
mySoundEffect = Content.Load<SoundEffect>("Audio\\Waves\\puchun");
if ( mySoundEffectInstance == null)
mySoundEffectInstance = mySoundEffect.Play();
--end--
If I don't check if the SoundEffectInstance is null is the same thing, it sounds wierd.
Thank you for your help.