/// <summary>
        /// Creates and initializes an new instance.
        /// </summary>
        /// <param name="resourceAccessor">The resource accessor to the media item to be handled by the instance.</param>
        /// <returns>The new instance.</returns>
        public static BassAudioFileInputSource Create(IResourceAccessor resourceAccessor)
        {
            BassAudioFileInputSource inputSource = new BassAudioFileInputSource(resourceAccessor);

            inputSource.Initialize();
            return(inputSource);
        }
 /// <summary>
 /// Creates and initializes an new instance.
 /// </summary>
 /// <param name="resourceAccessor">The resource accessor to the media item to be handled by the instance.</param>
 /// <returns>The new instance.</returns>
 public static BassAudioFileInputSource Create(IResourceAccessor resourceAccessor)
 {
   BassAudioFileInputSource inputSource = new BassAudioFileInputSource(resourceAccessor);
   inputSource.Initialize();
   return inputSource;
 }