|
TagLib 1.11.1 (mpcproperties.h Source File) |
|
|
Go to the documentation of this file.
26 #ifndef TAGLIB_MPCPROPERTIES_H
27 #define TAGLIB_MPCPROPERTIES_H
38 static const unsigned int HeaderSize = 8 * 7;
56 Properties(
const ByteVector &data,
long streamLength, ReadStyle style = Average);
62 Properties(
File *file,
long streamLength, ReadStyle style = Average);
67 virtual ~Properties();
77 virtual int length()
const;
86 int lengthInSeconds()
const;
94 int lengthInMilliseconds()
const;
99 virtual int bitrate()
const;
104 virtual int sampleRate()
const;
109 virtual int channels()
const;
114 int mpcVersion()
const;
116 unsigned int totalFrames()
const;
117 unsigned int sampleFrames()
const;
123 int trackGain()
const;
130 int trackPeak()
const;
136 int albumGain()
const;
143 int albumPeak()
const;
149 void readSV7(
const ByteVector &data,
long streamLength);
150 void readSV8(
File *file,
long streamLength);
152 class PropertiesPrivate;
153 PropertiesPrivate *d;
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41
An implementation of TagLib::File with MPC specific methods.
Definition: mpcfile.h:88
A byte vector.
Definition: tbytevector.h:67
An implementation of audio property reading for MPC.
Definition: mpcproperties.h:90
#define TAGLIB_EXPORT
Definition: taglib_export.h:40