No longer needed methods in FLAC::File

This commit is contained in:
Lukáš Lalinský 2012-11-04 10:01:39 +01:00
parent 6e2d5bc1dc
commit 0d49e6bff0
2 changed files with 1 additions and 27 deletions

View File

@ -341,12 +341,7 @@ void FLAC::File::read(bool readProperties, Properties::ReadStyle propertiesStyle
d->tag.set(FlacXiphIndex, new Ogg::XiphComment);
if(readProperties)
d->properties = new Properties(streamInfoData(), streamLength(), propertiesStyle);
}
ByteVector FLAC::File::streamInfoData()
{
return isValid() ? d->streamInfoData : ByteVector();
d->properties = new Properties(d->streamInfoData, d->streamLength, propertiesStyle);
}
ByteVector FLAC::File::xiphCommentData() const
@ -354,11 +349,6 @@ ByteVector FLAC::File::xiphCommentData() const
return (isValid() && d->hasXiphComment) ? d->xiphCommentData : ByteVector();
}
offset_t FLAC::File::streamLength()
{
return d->streamLength;
}
void FLAC::File::scan()
{
// Scan the metadata pages

View File

@ -190,22 +190,6 @@ namespace TagLib {
*/
void setID3v2FrameFactory(const ID3v2::FrameFactory *factory);
/*!
* Returns the block of data used by FLAC::Properties for parsing the
* stream properties.
*
* \deprecated This method will not be public in a future release.
*/
ByteVector streamInfoData(); // BIC: remove
/*!
* Returns the length of the audio-stream, used by FLAC::Properties for
* calculating the bitrate.
*
* \deprecated This method will not be public in a future release.
*/
offset_t streamLength(); // BIC: remove
/*!
* Returns a list of pictures attached to the FLAC file.
*/