Beispiel #1
0
        public FlacFile(string file, ReadStyle propertiesStyle) : base(file)
        {
            //id3v2Tag           = null;
            //id3v1Tag           = null;
            //comment             = null;
            //properties          = null;
            //flac_start          = 0;
            //stream_start        = 0;
            //stream_length       = 0;
            //scanned             = false;
            tag = new CombinedTag();

            try
            {
                Mode = FileAccessMode.Read;
            }
            catch (TagLibException)
            {
                return;
            }

            Read(propertiesStyle);

            Mode = FileAccessMode.Closed;
        }
Beispiel #2
0
		public FlacFile(string file, ReadStyle propertiesStyle) : base (file)
		{
			//id3v2Tag           = null;
			//id3v1Tag           = null;
			//comment             = null;
			//properties          = null;
			//flac_start          = 0;
			//stream_start        = 0;
			//stream_length       = 0;
			//scanned             = false;
			tag = new CombinedTag();
         
			try
			{
				Mode = FileAccessMode.Read;
			}
			catch (TagLibException)
			{
				return;
			}
         
			Read(propertiesStyle);
         
			Mode = FileAccessMode.Closed;
		}
		public WavPackFile(string file, ReadStyle propertiesStyle) : base(file)
		{
			//apeTag        = null;
			//id3v1Tag      = null;
			tag = new CombinedTag();
			//properties     = null;

			try
			{
				Mode = FileAccessMode.Read;
			}
			catch (TagLibException)
			{
				return;
			}

			Read(propertiesStyle);

			Mode = FileAccessMode.Closed;
		}
Beispiel #4
0
        public WavPackFile(string file, ReadStyle propertiesStyle) : base(file)
        {
            //apeTag        = null;
            //id3v1Tag      = null;
            tag = new CombinedTag();
            //properties     = null;

            try
            {
                Mode = FileAccessMode.Read;
            }
            catch (TagLibException)
            {
                return;
            }

            Read(propertiesStyle);

            Mode = FileAccessMode.Closed;
        }