ClintHeyer.Media
Class Mp3

MP3 Music file

Field Summary
string Filename
ClintHeyer.Media.Mp3Header header
string Path
bool readHeaders
long Size
ClintHeyer.Media.ID3Tags tags

Constructor Summary
Mp3(string fullPath)
         Constructor
Mp3(System.IO.FileInfo file)
         Constructor

Property Summary
int AudioBitrate
         Gets the audio bitrate in kilobits per second (kbps)
System.TimeSpan Duration
         Same as Length, but returns as a TimeSpan
int Frequency
         Frequency
float Length
         Gets the run-length of the file (in seconds)
ClintHeyer.Media.Mp3Header.Modes Mode
         Mode (e.g. Mono, stereo)
ClintHeyer.Media.ID3Tags Tags
         Returns the ID3 tags for this file
bool VBREncoded
         Is file encoded with a variable bitrate?

Method Summary
void GetTags()

Methods inherited from class ClintHeyer.Media.MediaFile
GetFile, IgnoreBytes

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Field Detail

Filename

public string Filename


header

private ClintHeyer.Media.Mp3Header header


Path

public string Path


readHeaders

private bool readHeaders


Size

public long Size


tags

private ClintHeyer.Media.ID3Tags tags

Constructor Detail

Mp3

public Mp3(string fullPath)

Constructor

Parameters:
fullPath -

Mp3

public Mp3(System.IO.FileInfo file)

Constructor

Parameters:
file -
Property Detail

AudioBitrate

public int AudioBitrate

Gets the audio bitrate in kilobits per second (kbps)


Duration

public System.TimeSpan Duration

Same as Length, but returns as a TimeSpan


Frequency

public int Frequency

Frequency


Length

public float Length

Gets the run-length of the file (in seconds)


Mode

public ClintHeyer.Media.Mp3Header.Modes Mode

Mode (e.g. Mono, stereo)


Tags

public ClintHeyer.Media.ID3Tags Tags

Returns the ID3 tags for this file


VBREncoded

public bool VBREncoded

Is file encoded with a variable bitrate?

Method Detail

GetTags

private void GetTags()