A sound which has a position enabling effects such as doppler effect and distance-based volume adjustments.
Inheritance: PositionedObject
        /// <summary>
        /// Gets a positioned sound
        /// </summary>
        /// <param name="soundName">The name of the sound in the XACT project</param>
        /// <param name="soundBankFile">The name of the sound bank to retrieve the sound from</param>
        /// <returns>A new positioned sound</returns>
        #endregion
        public static PositionedSound GetPositionedSound(String soundName, string soundBankFile)
        {
            PositionedSound newPosSound = new PositionedSound(GetCue(soundName, soundBankFile), soundName, soundBankFile);

            PositionedSounds.Add(newPosSound);
            return(newPosSound);
        }
 /// <summary>
 /// Removes the specified sound from the audio manager
 /// Warning: The sound will stop being positioned when removed
 /// </summary>
 /// <param name="sound">The sound to remove</param>
 public static void RemovePositionedSound(PositionedSound sound)
 {
     sound.RemoveSelfFromListsBelongingTo();
 }
 /// <summary>
 /// Gets a positioned sound
 /// </summary>
 /// <param name="soundName">The name of the sound in the XACT project</param>
 /// <param name="soundBankFile">The name of the sound bank to retrieve the sound from</param>
 /// <returns>A new positioned sound</returns>
 #endregion
 public static PositionedSound GetPositionedSound(String soundName, string soundBankFile)
 {
     PositionedSound newPosSound = new PositionedSound(GetCue(soundName, soundBankFile), soundName, soundBankFile);
     PositionedSounds.Add(newPosSound);
     return newPosSound;
 }
 /// <summary>
 /// Removes the specified sound from the audio manager
 /// Warning: The sound will stop being positioned when removed
 /// </summary>
 /// <param name="sound">The sound to remove</param>
 public static void RemovePositionedSound(PositionedSound sound)
 {
     sound.RemoveSelfFromListsBelongingTo();
 }