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

Public Member Functions | Static Public Member Functions | Static Public Attributes | Properties | Private Member Functions | Private Attributes | Static Private Attributes

TagLib::Mpeg::AudioHeader Struct Reference

This structure implements IAudioCodec and provides information about an MPEG audio stream. More...

Inheritance diagram for TagLib::Mpeg::AudioHeader:
Inheritance graph
[legend]
Collaboration diagram for TagLib::Mpeg::AudioHeader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void SetStreamLength (long streamLength)
 Sets the length of the audio stream represented by the current instance.

Static Public Member Functions

static bool Find (out AudioHeader header, TagLib.File file, long position, int length)
 Searches for an audio header in a TagLib.File starting at a specified position and searching through a specified number of bytes.
static bool Find (out AudioHeader header, TagLib.File file, long position)
 Searches for an audio header in a TagLib.File starting at a specified position and searching to the end of the file.

Static Public Attributes

static readonly AudioHeader Unknown
 An empty and unset header.

Properties

int AudioBitrate [get]
 Gets the bitrate of the audio represented by the current instance.
int AudioChannels [get]
 Gets the number of channels in the audio represented by the current instance.
int AudioFrameLength [get]
 Gets the length of the frames in the audio represented by the current instance.
int AudioLayer [get]
 Gets the MPEG audio layer used to encode the audio represented by the current instance.
int AudioSampleRate [get]
 Gets the sample rate of the audio represented by the current instance.
ChannelMode ChannelMode [get]
 Gets the MPEG audio channel mode of the audio represented by the current instance.
string Description [get]
 Gets a text description of the media represented by the current instance.
TimeSpan Duration [get]
 Gets the duration of the media represented by the current instance.
bool IsCopyrighted [get]
 Gets whether or not the audio represented by the current instance is copyrighted.
bool IsOriginal [get]
 Gets whether or not the audio represented by the current instance is original.
bool IsPadded [get]
 Gets whether or not the audio represented by the current instance is padded.
bool IsProtected [get]
 Gets whether or not the audio represented by the current instance is protected.
MediaTypes MediaTypes [get]
 Gets the types of media represented by the current instance.
VBRIHeader VBRIHeader [get]
 Gets the VBRI header found in the audio represented by the current instance.
Version Version [get]
 Gets the MPEG version used to encode the audio represented by the current instance.
XingHeader XingHeader [get]
 Gets the Xing header found in the audio represented by the current instance.

Private Member Functions

 AudioHeader (uint flags, long streamLength, XingHeader xingHeader, VBRIHeader vbriHeader)
 Constructs and initializes a new instance of AudioHeader by populating it with specified values.
 AudioHeader (ByteVector data, TagLib.File file, long position)
 Constructs and initializes a new instance of AudioHeader by reading its contents from a ByteVector object and its Xing Header from the appropriate location in the specified file.

Private Attributes

TimeSpan duration
 Contains the audio stream duration.
uint flags
 Contains the header flags.
long stream_length
 Contains the audio stream length.
VBRIHeader vbri_header
 Contains the associated VBRI header.
XingHeader xing_header
 Contains the associated Xing header.

Static Private Attributes

static readonly int[,,] bitrates
 Contains a bitrate table for MPEG audio.
static readonly int[,] block_size
 Contains a block size table for MPEG audio.
static readonly int[,] sample_rates
 Contains a sample rate table for MPEG audio.

Detailed Description

This structure implements IAudioCodec and provides information about an MPEG audio stream.

Definition at line 92 of file AudioHeader.cs.


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

Generated by  Doxygen 1.6.0   Back to index