An implementation of audio property reading for AIFF.
More...
#include <aiffproperties.h>
An implementation of audio property reading for AIFF.
This reads the data from an AIFF stream found in the AudioProperties API.
§ Properties() [1/2]
§ Properties() [2/2]
TagLib::RIFF::AIFF::Properties::Properties |
( |
File * |
file, |
|
|
ReadStyle |
style |
|
) |
| |
§ ~Properties()
virtual TagLib::RIFF::AIFF::Properties::~Properties |
( |
| ) |
|
|
virtual |
§ bitrate()
virtual int TagLib::RIFF::AIFF::Properties::bitrate |
( |
| ) |
const |
|
virtual |
§ bitsPerSample()
int TagLib::RIFF::AIFF::Properties::bitsPerSample |
( |
| ) |
const |
Returns the number of bits per audio sample.
§ channels()
virtual int TagLib::RIFF::AIFF::Properties::channels |
( |
| ) |
const |
|
virtual |
§ compressionName()
String TagLib::RIFF::AIFF::Properties::compressionName |
( |
| ) |
const |
Returns the concrete compression name of the AIFF-C file.
If the file is in AIFF format, always returns an empty string.
- See also
- isAiffC()
§ compressionType()
ByteVector TagLib::RIFF::AIFF::Properties::compressionType |
( |
| ) |
const |
Returns the compression type of the AIFF-C file. For example, "NONE" for not compressed, "ACE2" for ACE 2-to-1.
If the file is in AIFF format, always returns an empty vector.
- See also
- isAiffC()
§ isAiffC()
bool TagLib::RIFF::AIFF::Properties::isAiffC |
( |
| ) |
const |
Returns true if the file is in AIFF-C format, false if AIFF format.
§ length()
virtual int TagLib::RIFF::AIFF::Properties::length |
( |
| ) |
const |
|
virtual |
§ lengthInMilliseconds()
int TagLib::RIFF::AIFF::Properties::lengthInMilliseconds |
( |
| ) |
const |
§ lengthInSeconds()
int TagLib::RIFF::AIFF::Properties::lengthInSeconds |
( |
| ) |
const |
Returns the length of the file in seconds. The length is rounded down to the nearest whole second.
- See also
- lengthInMilliseconds()
§ sampleFrames()
unsigned int TagLib::RIFF::AIFF::Properties::sampleFrames |
( |
| ) |
const |
Returns the number of sample frames
§ sampleRate()
virtual int TagLib::RIFF::AIFF::Properties::sampleRate |
( |
| ) |
const |
|
virtual |
§ sampleWidth()
int TagLib::RIFF::AIFF::Properties::sampleWidth |
( |
| ) |
const |
Returns the number of bits per audio sample.
- Note
- This method is just an alias of bitsPerSample().
The documentation for this class was generated from the following file: