Ejemplo n.º 1
0
        /// <summary>
        /// Returns the version of the Libsndfile library.
        /// </summary>
        /// <returns>Libsndfile library version.</returns>
        public string GetLibVersion()
        {
            var version = m_Api.GetLibVersion();

            if (string.IsNullOrEmpty(version))
            {
                throw new LibsndfileException("Unable to retrieve Libsndfile library version.");
            }

            return(version);
        }