mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 13:04:18 -04:00
AIFF: Remove unused formal parameters.
This commit is contained in:
@ -40,10 +40,7 @@ public:
|
||||
properties(0),
|
||||
tag(0),
|
||||
tagChunkID("ID3 "),
|
||||
hasID3v2(false)
|
||||
{
|
||||
|
||||
}
|
||||
hasID3v2(false) {}
|
||||
|
||||
~FilePrivate()
|
||||
{
|
||||
@ -62,20 +59,20 @@ public:
|
||||
// public members
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
RIFF::AIFF::File::File(FileName file, bool readProperties,
|
||||
Properties::ReadStyle propertiesStyle) : RIFF::File(file, BigEndian)
|
||||
RIFF::AIFF::File::File(FileName file, bool readProperties, Properties::ReadStyle) :
|
||||
RIFF::File(file, BigEndian),
|
||||
d(new FilePrivate())
|
||||
{
|
||||
d = new FilePrivate;
|
||||
if(isOpen())
|
||||
read(readProperties, propertiesStyle);
|
||||
read(readProperties);
|
||||
}
|
||||
|
||||
RIFF::AIFF::File::File(IOStream *stream, bool readProperties,
|
||||
Properties::ReadStyle propertiesStyle) : RIFF::File(stream, BigEndian)
|
||||
RIFF::AIFF::File::File(IOStream *stream, bool readProperties, Properties::ReadStyle) :
|
||||
RIFF::File(stream, BigEndian),
|
||||
d(new FilePrivate())
|
||||
{
|
||||
d = new FilePrivate;
|
||||
if(isOpen())
|
||||
read(readProperties, propertiesStyle);
|
||||
read(readProperties);
|
||||
}
|
||||
|
||||
RIFF::AIFF::File::~File()
|
||||
@ -135,7 +132,7 @@ bool RIFF::AIFF::File::hasID3v2Tag() const
|
||||
// private members
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void RIFF::AIFF::File::read(bool readProperties, Properties::ReadStyle propertiesStyle)
|
||||
void RIFF::AIFF::File::read(bool readProperties)
|
||||
{
|
||||
for(uint i = 0; i < chunkCount(); ++i) {
|
||||
const ByteVector name = chunkName(i);
|
||||
@ -155,5 +152,5 @@ void RIFF::AIFF::File::read(bool readProperties, Properties::ReadStyle propertie
|
||||
d->tag = new ID3v2::Tag();
|
||||
|
||||
if(readProperties)
|
||||
d->properties = new Properties(this, propertiesStyle);
|
||||
d->properties = new Properties(this, Properties::Average);
|
||||
}
|
||||
|
@ -130,7 +130,7 @@ namespace TagLib {
|
||||
File(const File &);
|
||||
File &operator=(const File &);
|
||||
|
||||
void read(bool readProperties, Properties::ReadStyle propertiesStyle);
|
||||
void read(bool readProperties);
|
||||
|
||||
friend class Properties;
|
||||
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
// public members
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
RIFF::AIFF::Properties::Properties(const ByteVector & /*data*/, ReadStyle style) :
|
||||
RIFF::AIFF::Properties::Properties(const ByteVector &, ReadStyle style) :
|
||||
AudioProperties(style),
|
||||
d(new PropertiesPrivate())
|
||||
{
|
||||
|
Reference in New Issue
Block a user