TagLib::ASF::Properties Class Reference

An implementation of ASF audio properties. More...

#include <asfproperties.h>

Inheritance diagram for TagLib::ASF::Properties:
Collaboration diagram for TagLib::ASF::Properties:

Public Member Functions

 Properties ()
virtual ~Properties ()
virtual int length () const
virtual int bitrate () const
virtual int sampleRate () const
virtual int channels () const
bool isEncrypted () const
- Public Member Functions inherited from TagLib::AudioProperties
virtual ~AudioProperties ()

Additional Inherited Members

- Public Types inherited from TagLib::AudioProperties
enum  ReadStyle { Fast, Average, Accurate }
- Protected Member Functions inherited from TagLib::AudioProperties
 AudioProperties (ReadStyle style)

Detailed Description

An implementation of ASF audio properties.

Constructor & Destructor Documentation

TagLib::ASF::Properties::Properties ( )

Create an instance of ASF::Properties.

virtual TagLib::ASF::Properties::~Properties ( )

Destroys this ASF::Properties instance.

Member Function Documentation

virtual int TagLib::ASF::Properties::bitrate ( ) const

Returns the most appropriate bit rate for the file in kb/s. For constant bitrate formats this is simply the bitrate of the file. For variable bitrate formats this is either the average or nominal bitrate.

Implements TagLib::AudioProperties.

virtual int TagLib::ASF::Properties::channels ( ) const

Returns the number of audio channels.

Implements TagLib::AudioProperties.

bool TagLib::ASF::Properties::isEncrypted ( ) const
virtual int TagLib::ASF::Properties::length ( ) const

Returns the length of the file in seconds.

Implements TagLib::AudioProperties.

virtual int TagLib::ASF::Properties::sampleRate ( ) const

Returns the sample rate in Hz.

Implements TagLib::AudioProperties.

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