TagLib
2.0.2
|
An implementation of audio property reading for AIFF. More...
#include <aiffproperties.h>
Public Member Functions | |
Properties (File *file, ReadStyle style) | |
~Properties () override | |
Properties (const Properties &)=delete | |
Properties & | operator= (const Properties &)=delete |
int | lengthInMilliseconds () const override |
int | bitrate () const override |
int | sampleRate () const override |
int | channels () const override |
int | bitsPerSample () const |
unsigned int | sampleFrames () const |
bool | isAiffC () const |
ByteVector | compressionType () const |
String | compressionName () const |
![]() | |
virtual | ~AudioProperties () |
AudioProperties (const AudioProperties &)=delete | |
AudioProperties & | operator= (const AudioProperties &)=delete |
virtual TAGLIB_DEPRECATED int | length () const |
virtual int | lengthInSeconds () const |
Additional Inherited Members | |
![]() | |
enum | ReadStyle { Fast , Average , Accurate } |
![]() | |
AudioProperties (ReadStyle style) | |
An implementation of audio property reading for AIFF.
This reads the data from an AIFF stream found in the AudioProperties API.
Create an instance of AIFF::Properties with the data read from the AIFF::File file.
Referenced by operator=(), and Properties().
|
override |
Destroys this AIFF::Properties instance.
|
delete |
References Properties().
|
overridevirtual |
Returns the average bit rate of the file in kb/s.
Reimplemented from TagLib::AudioProperties.
int TagLib::RIFF::AIFF::Properties::bitsPerSample | ( | ) | const |
Returns the number of bits per audio sample.
|
overridevirtual |
Returns the number of audio channels.
Implements TagLib::AudioProperties.
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.
References TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE.
ByteVector TagLib::RIFF::AIFF::Properties::compressionType | ( | ) | const |
bool TagLib::RIFF::AIFF::Properties::isAiffC | ( | ) | const |
Returns true
if the file is in AIFF-C format, false
if AIFF format.
|
overridevirtual |
Returns the length of the file in milliseconds.
Reimplemented from TagLib::AudioProperties.
|
delete |
References Properties().
unsigned int TagLib::RIFF::AIFF::Properties::sampleFrames | ( | ) | const |
Returns the number of sample frames
|
overridevirtual |
Returns the sample rate in Hz.
Reimplemented from TagLib::AudioProperties.