TagLib::AudioProperties Class Reference
A simple, abstract interface to common audio properties.
More...
#include <audioproperties.h>
Inheritance diagram for TagLib::AudioProperties:
[legend]List of all members.
Detailed Description
A simple, abstract interface to common audio properties.
The values here are common to most audio formats. For more specific, codec dependant values, please see see the subclasses APIs. This is meant to compliment the TagLib::File and TagLib::Tag APIs in providing a simple interface that is sufficient for most applications.
Member Enumeration Documentation
|
Reading audio properties from a file can sometimes be very time consuming and for the most accurate results can often involve reading the entire file. Because in many situations speed is critical or the accuracy of the values is not particularly important this allows the level of desired accuracy to be set. - Enumeration values:
-
Fast |
Read as little of the file as possible. |
Average |
Read more of the file and make better values guesses. |
Accurate |
Read as much of the file as needed to report accurate values. |
|
Constructor & Destructor Documentation
virtual TagLib::AudioProperties::~AudioProperties |
( |
|
) |
[virtual] |
|
TagLib::AudioProperties::AudioProperties |
( |
ReadStyle |
style |
) |
[protected] |
|
|
Construct an audio properties instance. This is protected as this class should not be instantiated directly, but should be instantiated via its subclasses and can be fetched from the FileRef or File APIs.
- See also:
- ReadStyle
|
Member Function Documentation
virtual int TagLib::AudioProperties::bitrate |
( |
|
) |
const [pure virtual] |
|
virtual int TagLib::AudioProperties::channels |
( |
|
) |
const [pure virtual] |
|
virtual int TagLib::AudioProperties::length |
( |
|
) |
const [pure virtual] |
|
virtual int TagLib::AudioProperties::sampleRate |
( |
|
) |
const [pure virtual] |
|
The documentation for this class was generated from the following file: