mirror of
https://github.com/taglib/taglib.git
synced 2025-07-21 06:24:19 -04:00
some cosmetic changes
This commit is contained in:
@ -108,18 +108,18 @@ TagLib::Tag *WavPack::File::tag() const
|
||||
|
||||
PropertyMap WavPack::File::properties() const
|
||||
{
|
||||
if (d->hasAPE)
|
||||
if(d->hasAPE)
|
||||
return d->tag.access<APE::Tag>(APEIndex, false)->properties();
|
||||
if (d->hasID3v1)
|
||||
if(d->hasID3v1)
|
||||
return d->tag.access<ID3v1::Tag>(ID3v1Index, false)->properties();
|
||||
return PropertyMap();
|
||||
}
|
||||
|
||||
PropertyMap WavPack::File::setProperties(const PropertyMap &properties)
|
||||
{
|
||||
if (d->hasAPE)
|
||||
if(d->hasAPE)
|
||||
return d->tag.access<APE::Tag>(APEIndex, false)->setProperties(properties);
|
||||
else if (d->hasID3v1)
|
||||
else if(d->hasID3v1)
|
||||
return d->tag.access<ID3v1::Tag>(ID3v1Index, false)->setProperties(properties);
|
||||
else
|
||||
return d->tag.access<APE::Tag>(APE, true)->setProperties(properties);
|
||||
|
Reference in New Issue
Block a user