// public members
////////////////////////////////////////////////////////////////////////////////
-WavPack::File::File(FileName file, bool readProperties,
- Properties::ReadStyle propertiesStyle) : TagLib::File(file)
+WavPack::File::File(FileName file, bool readProperties, Properties::ReadStyle) :
+ TagLib::File(file),
+ d(new FilePrivate())
{
- d = new FilePrivate;
if(isOpen())
- read(readProperties, propertiesStyle);
+ read(readProperties);
}
-WavPack::File::File(IOStream *stream, bool readProperties,
- Properties::ReadStyle propertiesStyle) : TagLib::File(stream)
+WavPack::File::File(IOStream *stream, bool readProperties, Properties::ReadStyle) :
+ TagLib::File(stream),
+ d(new FilePrivate())
{
- d = new FilePrivate;
if(isOpen())
- read(readProperties, propertiesStyle);
+ read(readProperties);
}
WavPack::File::~File()
// private members
////////////////////////////////////////////////////////////////////////////////
-void WavPack::File::read(bool readProperties, Properties::ReadStyle /* propertiesStyle */)
+void WavPack::File::read(bool readProperties)
{
// Look for an ID3v1 tag
File(const File &);
File &operator=(const File &);
- void read(bool readProperties, Properties::ReadStyle propertiesStyle);
+ void read(bool readProperties);
long findID3v1();
long findAPE();
// public members
////////////////////////////////////////////////////////////////////////////////
-WavPack::Properties::Properties(const ByteVector & /*data*/, long /*streamLength*/, ReadStyle style) :
+WavPack::Properties::Properties(const ByteVector &, long, ReadStyle style) :
AudioProperties(style),
d(new PropertiesPrivate())
{