aboutsummaryrefslogtreecommitdiffstats
path: root/taglib/xm/xmproperties.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'taglib/xm/xmproperties.cpp')
-rw-r--r--taglib/xm/xmproperties.cpp94
1 files changed, 47 insertions, 47 deletions
diff --git a/taglib/xm/xmproperties.cpp b/taglib/xm/xmproperties.cpp
index 5114a864..bde96049 100644
--- a/taglib/xm/xmproperties.cpp
+++ b/taglib/xm/xmproperties.cpp
@@ -27,142 +27,142 @@ using namespace XM;
class XM::Properties::PropertiesPrivate
{
public:
- PropertiesPrivate() :
- sampleLength(0),
- channels(0),
- version(0),
- restartPosition(0),
- patternCount(0),
- instrumentCount(0),
- flags(0),
- tempo(0),
- bpmSpeed(0)
- {
- }
-
- ushort sampleLength;
- int channels;
- ushort version;
- ushort restartPosition;
- ushort patternCount;
- ushort instrumentCount;
- ushort flags;
- ushort tempo;
- ushort bpmSpeed;
+ PropertiesPrivate() :
+ sampleLength(0),
+ channels(0),
+ version(0),
+ restartPosition(0),
+ patternCount(0),
+ instrumentCount(0),
+ flags(0),
+ tempo(0),
+ bpmSpeed(0)
+ {
+ }
+
+ ushort sampleLength;
+ int channels;
+ ushort version;
+ ushort restartPosition;
+ ushort patternCount;
+ ushort instrumentCount;
+ ushort flags;
+ ushort tempo;
+ ushort bpmSpeed;
};
XM::Properties::Properties(AudioProperties::ReadStyle propertiesStyle) :
- AudioProperties(propertiesStyle),
- d(new PropertiesPrivate)
+ AudioProperties(propertiesStyle),
+ d(new PropertiesPrivate)
{
-}
+}
XM::Properties::~Properties()
{
- delete d;
+ delete d;
}
int XM::Properties::length() const
{
- return 0;
+ return 0;
}
int XM::Properties::bitrate() const
{
- return 0;
+ return 0;
}
int XM::Properties::sampleRate() const
{
- return 0;
+ return 0;
}
int XM::Properties::channels() const
{
- return d->channels;
+ return d->channels;
}
ushort XM::Properties::sampleLength() const
{
- return d->sampleLength;
+ return d->sampleLength;
}
ushort XM::Properties::version() const
{
- return d->version;
+ return d->version;
}
ushort XM::Properties::restartPosition() const
{
- return d->restartPosition;
+ return d->restartPosition;
}
ushort XM::Properties::patternCount() const
{
- return d->patternCount;
+ return d->patternCount;
}
ushort XM::Properties::instrumentCount() const
{
- return d->instrumentCount;
+ return d->instrumentCount;
}
ushort XM::Properties::flags() const
{
- return d->flags;
+ return d->flags;
}
ushort XM::Properties::tempo() const
{
- return d->tempo;
+ return d->tempo;
}
ushort XM::Properties::bpmSpeed() const
{
- return d->bpmSpeed;
+ return d->bpmSpeed;
}
void XM::Properties::setSampleLength(int sampleLength)
{
- d->sampleLength = sampleLength;
+ d->sampleLength = sampleLength;
}
void XM::Properties::setChannels(int channels)
{
- d->channels = channels;
+ d->channels = channels;
}
void XM::Properties::setVersion(ushort version)
{
- d->version = version;
+ d->version = version;
}
void XM::Properties::setRestartPosition(ushort restartPosition)
{
- d->restartPosition = restartPosition;
+ d->restartPosition = restartPosition;
}
void XM::Properties::setPatternCount(ushort patternCount)
{
- d->patternCount = patternCount;
+ d->patternCount = patternCount;
}
void XM::Properties::setInstrumentCount(ushort instrumentCount)
{
- d->instrumentCount = instrumentCount;
+ d->instrumentCount = instrumentCount;
}
void XM::Properties::setFlags(ushort flags)
{
- d->flags = flags;
+ d->flags = flags;
}
void XM::Properties::setTempo(ushort tempo)
{
- d->tempo = tempo;
+ d->tempo = tempo;
}
void XM::Properties::setBpmSpeed(ushort bpmSpeed)
{
- d->bpmSpeed = bpmSpeed;
+ d->bpmSpeed = bpmSpeed;
}