ACAT.Lib.Core.Utility.FileUtils.GetSoundPath C# (CSharp) Method

GetSoundPath() public static method

Returns the fully qualified path to the specified sound file. First checks the User's sounds folder. If it doesn't find the file there, returns the path to the global ACAT sounds folder
public static GetSoundPath ( string soundFile ) : String
soundFile string input sound file name
return String
        public static String GetSoundPath(string soundFile)
        {
            var fullPath = Path.Combine(GetUserSoundsDir(), soundFile);
            return File.Exists(fullPath) ? fullPath : Path.Combine(GetSoundsDir(), soundFile);
        }