/// <summary> /// Gets the volume of the specified sound. /// </summary> public float GetVolume(int soundEventID) { float result = -1f; if (CurrentlyPlayingSoundEvent(soundEventID)) { SoundEvent soundEvent = GetSoundEventFromID(soundEventID); result = soundEvent.GetVolume(); } return(result); }