mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Remove deprecated constructors from AudioProperties classes.
This commit is contained in:
parent
e6e11c957d
commit
400fa04b1c
@ -63,13 +63,6 @@ public:
|
||||
// public members
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
APE::AudioProperties::AudioProperties(File *, ReadStyle) :
|
||||
TagLib::AudioProperties(),
|
||||
d(new PropertiesPrivate())
|
||||
{
|
||||
debug("APE::Properties::Properties() -- This constructor is no longer used.");
|
||||
}
|
||||
|
||||
APE::AudioProperties::AudioProperties(File *file, offset_t streamLength, ReadStyle) :
|
||||
TagLib::AudioProperties(),
|
||||
d(new PropertiesPrivate())
|
||||
|
@ -49,14 +49,6 @@ namespace TagLib {
|
||||
class TAGLIB_EXPORT AudioProperties : public TagLib::AudioProperties
|
||||
{
|
||||
public:
|
||||
/*!
|
||||
* Create an instance of APE::Properties with the data read from the
|
||||
* APE::File \a file.
|
||||
*
|
||||
* \deprecated
|
||||
*/
|
||||
AudioProperties(File *file, ReadStyle style = Average);
|
||||
|
||||
/*!
|
||||
* Create an instance of APE::Properties with the data read from the
|
||||
* APE::File \a file.
|
||||
|
@ -126,7 +126,6 @@ bool ASF::AudioProperties::isEncrypted() const
|
||||
// private members
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
void ASF::AudioProperties::setLengthInMilliseconds(int value)
|
||||
{
|
||||
d->length = value;
|
||||
|
@ -152,5 +152,5 @@ void RIFF::AIFF::File::read(bool readProperties)
|
||||
d->tag = new ID3v2::Tag();
|
||||
|
||||
if(readProperties)
|
||||
d->properties = new AudioProperties(this, AudioProperties::Average);
|
||||
d->properties = new AudioProperties(this);
|
||||
}
|
||||
|
@ -57,13 +57,6 @@ public:
|
||||
// public members
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
RIFF::AIFF::AudioProperties::AudioProperties(const ByteVector &, ReadStyle) :
|
||||
TagLib::AudioProperties(),
|
||||
d(new PropertiesPrivate())
|
||||
{
|
||||
debug("RIFF::AIFF::Properties::Properties() - This constructor is no longer used.");
|
||||
}
|
||||
|
||||
RIFF::AIFF::AudioProperties::AudioProperties(File *file, ReadStyle) :
|
||||
TagLib::AudioProperties(),
|
||||
d(new PropertiesPrivate())
|
||||
|
@ -46,19 +46,11 @@ namespace TagLib {
|
||||
class TAGLIB_EXPORT AudioProperties : public TagLib::AudioProperties
|
||||
{
|
||||
public:
|
||||
/*!
|
||||
* Create an instance of AIFF::AudioProperties with the data read from
|
||||
* the ByteVector \a data.
|
||||
*
|
||||
* \deprecated
|
||||
*/
|
||||
AudioProperties(const ByteVector &data, ReadStyle style);
|
||||
|
||||
/*!
|
||||
* Create an instance of AIFF::AudioProperties with the data read from
|
||||
* the AIFF::File \a file.
|
||||
*/
|
||||
AudioProperties(File *file, ReadStyle style);
|
||||
AudioProperties(File *file, ReadStyle style = Average);
|
||||
|
||||
/*!
|
||||
* Destroys this AIFF::AudioProperties instance.
|
||||
|
@ -224,7 +224,7 @@ void RIFF::WAV::File::read(bool readProperties)
|
||||
d->tag.set(InfoIndex, new RIFF::Info::Tag());
|
||||
|
||||
if(readProperties)
|
||||
d->properties = new AudioProperties(this, AudioProperties::Average);
|
||||
d->properties = new AudioProperties(this);
|
||||
}
|
||||
|
||||
void RIFF::WAV::File::strip(TagTypes tags)
|
||||
|
@ -66,20 +66,6 @@ public:
|
||||
// public members
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
RIFF::WAV::AudioProperties::AudioProperties(const ByteVector &, ReadStyle) :
|
||||
TagLib::AudioProperties(),
|
||||
d(new PropertiesPrivate())
|
||||
{
|
||||
debug("RIFF::WAV::Properties::Properties() -- This constructor is no longer used.");
|
||||
}
|
||||
|
||||
RIFF::WAV::AudioProperties::AudioProperties(const ByteVector &, uint, ReadStyle) :
|
||||
TagLib::AudioProperties(),
|
||||
d(new PropertiesPrivate())
|
||||
{
|
||||
debug("RIFF::WAV::Properties::Properties() -- This constructor is no longer used.");
|
||||
}
|
||||
|
||||
TagLib::RIFF::WAV::AudioProperties::AudioProperties(File *file, ReadStyle) :
|
||||
TagLib::AudioProperties(),
|
||||
d(new PropertiesPrivate())
|
||||
|
@ -49,27 +49,11 @@ namespace TagLib {
|
||||
class TAGLIB_EXPORT AudioProperties : public TagLib::AudioProperties
|
||||
{
|
||||
public:
|
||||
/*!
|
||||
* Create an instance of WAV::Properties with the data read from the
|
||||
* ByteVector \a data.
|
||||
*
|
||||
* \deprecated
|
||||
*/
|
||||
AudioProperties(const ByteVector &data, ReadStyle style);
|
||||
|
||||
/*!
|
||||
* Create an instance of WAV::Properties with the data read from the
|
||||
* ByteVector \a data and the length calculated using \a streamLength.
|
||||
*
|
||||
* \deprecated
|
||||
*/
|
||||
AudioProperties(const ByteVector &data, uint streamLength, ReadStyle style);
|
||||
|
||||
/*!
|
||||
* Create an instance of WAV::Properties with the data read from the
|
||||
* WAV::File \a file.
|
||||
*/
|
||||
AudioProperties(File *file, ReadStyle style);
|
||||
AudioProperties(File *file, ReadStyle style = Average);
|
||||
|
||||
/*!
|
||||
* Destroys this WAV::Properties instance.
|
||||
|
Loading…
x
Reference in New Issue
Block a user