mirror of
https://github.com/taglib/taglib.git
synced 2025-09-30 00:25:28 -04:00
Ran my whitespace fixing script -- tabs -> spaces, removes trailing spaces.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@738725 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -154,7 +154,7 @@ bool FLAC::File::save()
|
||||
|
||||
// A Xiph comment portion of the data stream starts with a 4-byte descriptor.
|
||||
// The first byte indicates the frame type. The last three bytes are used
|
||||
// to give the length of the data segment. Here we start
|
||||
// to give the length of the data segment. Here we start
|
||||
|
||||
ByteVector data = ByteVector::fromUInt(d->xiphCommentData.size());
|
||||
|
||||
@ -380,7 +380,7 @@ void FLAC::File::scan()
|
||||
// Header format (from spec):
|
||||
// <1> Last-metadata-block flag
|
||||
// <7> BLOCK_TYPE
|
||||
// 0 : STREAMINFO
|
||||
// 0 : STREAMINFO
|
||||
// 1 : PADDING
|
||||
// ..
|
||||
// 4 : VORBIS_COMMENT
|
||||
|
@ -160,7 +160,7 @@ namespace TagLib {
|
||||
/*!
|
||||
* Set the ID3v2::FrameFactory to something other than the default. This
|
||||
* can be used to specify the way that ID3v2 frames will be interpreted
|
||||
* when
|
||||
* when
|
||||
*
|
||||
* \see ID3v2FrameFactory
|
||||
*/
|
||||
|
@ -68,7 +68,7 @@ FLAC::Properties::Properties(File *file, ReadStyle style) : AudioProperties(styl
|
||||
{
|
||||
d = new PropertiesPrivate(file->streamInfoData(), file->streamLength(), style);
|
||||
read();
|
||||
}
|
||||
}
|
||||
|
||||
FLAC::Properties::~Properties()
|
||||
{
|
||||
@ -141,10 +141,10 @@ void FLAC::Properties::read()
|
||||
pos += 4;
|
||||
|
||||
// Uncompressed bitrate:
|
||||
|
||||
|
||||
//d->bitrate = ((d->sampleRate * d->channels) / 1000) * d->sampleWidth;
|
||||
|
||||
|
||||
// Real bitrate:
|
||||
|
||||
|
||||
d->bitrate = d->length > 0 ? ((d->streamLength * 8L) / d->length) / 1000 : 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user