Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

TagLib::Asf::FilePropertiesObject Class Reference

Inheritance diagram for TagLib::Asf::FilePropertiesObject:

TagLib::Asf::Object

List of all members.


Detailed Description

This class extends Object to provide a representation of an ASF File Properties object which can be read from and written to disk.

Definition at line 33 of file FilePropertiesObject.cs.


Public Member Functions

 FilePropertiesObject (Asf.File file, long position)
 Constructs and initializes a new instance of FilePropertiesObject by reading the contents from a specified position in a specified file.
override ByteVector Render ()
 Renders the current instance as a raw ASF object.

Static Public Member Functions

static ByteVector RenderDWord (uint value)
 Renders a 4-byte DWORD.
static ByteVector RenderQWord (ulong value)
 Renders a 8-byte QWORD.
static ByteVector RenderUnicode (string value)
 Renders a Unicode (wide) string.
static ByteVector RenderWord (ushort value)
 Renders a 2-byte WORD.

Protected Member Functions

ByteVector Render (ByteVector data)
 Renders the current instance as a raw ASF object containing specified data.

Properties

DateTime CreationDate [get]
 Gets the creation date of the file described by the current instance.
ulong DataPacketsCount [get]
 Gets the number of data packets in the file described by the current instance.
System.Guid FileId [get]
 Gets the GUID for the file described by the current instance.
ulong FileSize [get]
 Gets the size of the file described by the current instance.
uint Flags [get]
 Gets the flags of the file described by the current instance.
System.Guid Guid [get]
 Gets the GUID for the current instance.
uint MaximumBitrate [get]
 Gets the maximum bitrate of the file described by the current instance.
uint MaximumDataPacketSize [get]
 Gets the maximum data packet size of the file described by the current instance.
uint MinimumDataPacketSize [get]
 Gets the minimum data packet size of the file described by the current instance.
ulong OriginalSize [get]
 Gets the original size of the current instance.
TimeSpan PlayDuration [get]
 Gets the play duration of the file described by the current instance.
ulong Preroll [get]
 Gets the pre-roll of the file described by the current instance.
TimeSpan SendDuration [get]
 Gets the send duration of the file described by the current instance.

Private Attributes

ulong creation_date
 Contains the creation date.
ulong data_packets_count
 Contains the packet count.
System.Guid file_id
 Contains the GUID for the file.
ulong file_size
 Contains the file size.
uint flags
 Contains the file flags.
uint maximum_bitrate
 Contains the maximum bitrate of the file.
uint maximum_data_packet_size
 Contains the maxximum packet size.
uint minimum_data_packet_size
 Contains the minimum packet size.
ulong play_duration
 Contains the play duration.
ulong preroll
 Contains the preroll.
ulong send_duration
 Contains the send duration.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index