Exemplo n.º 1
0
 /// <summary>
 ///    Reads the audio properties from the file represented by
 ///    the current instance.
 /// </summary>
 /// <param name="start">
 ///    A <see cref="long" /> value containing the seek position
 ///    at which the tags end and the media data begins.
 /// </param>
 /// <param name="end">
 ///    A <see cref="long" /> value containing the seek position
 ///    at which the media data ends and the tags begin.
 /// </param>
 /// <param name="propertiesStyle">
 ///    A <see cref="ReadStyle" /> value specifying at what level
 ///    of accuracy to read the media properties, or <see
 ///    cref="ReadStyle.None" /> to ignore the properties.
 /// </param>
 /// <returns>
 ///    A <see cref="TagLib.Properties" /> object describing the
 ///    media properties of the file represented by the current
 ///    instance.
 /// </returns>
 protected override Properties ReadProperties(long start,
                                              long end,
                                              ReadStyle propertiesStyle)
 {
     first_header.SetStreamLength(end - start);
     return(new Properties(TimeSpan.Zero, first_header));
 }