1 using Microsoft.Xna.Framework.Audio;
4 namespace Loot.Sounds.Custom
8 public static SoundEffectInstance
MakeSoundInstance(ref SoundEffectInstance instance,
float volume,
float level)
10 instance.Volume = volume * level;
17 public override SoundEffectInstance PlaySound(ref SoundEffectInstance soundInstance,
float volume,
float pan, SoundType type)
25 public override SoundEffectInstance PlaySound(ref SoundEffectInstance soundInstance,
float volume,
float pan, SoundType type)
33 public override SoundEffectInstance PlaySound(ref SoundEffectInstance soundInstance,
float volume,
float pan, SoundType type)
41 public override SoundEffectInstance PlaySound(ref SoundEffectInstance soundInstance,
float volume,
float pan, SoundType type)
49 public override SoundEffectInstance PlaySound(ref SoundEffectInstance soundInstance,
float volume,
float pan, SoundType type)
57 public override SoundEffectInstance PlaySound(ref SoundEffectInstance soundInstance,
float volume,
float pan, SoundType type)
static SoundEffectInstance MakeSoundInstance(ref SoundEffectInstance instance, float volume, float level)