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.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/taglib/xm/xmproperties.cpp b/taglib/xm/xmproperties.cpp
index b7466f88..c6b2b7f3 100644
--- a/taglib/xm/xmproperties.cpp
+++ b/taglib/xm/xmproperties.cpp
@@ -34,6 +34,7 @@ public:
restartPosition(0),
patternCount(0),
instrumentCount(0),
+ sampleCount(0),
flags(0),
tempo(0),
bpmSpeed(0)
@@ -46,6 +47,7 @@ public:
ushort restartPosition;
ushort patternCount;
ushort instrumentCount;
+ uint sampleCount;
ushort flags;
ushort tempo;
ushort bpmSpeed;
@@ -107,6 +109,11 @@ ushort XM::Properties::instrumentCount() const
return d->instrumentCount;
}
+uint XM::Properties::sampleCount() const
+{
+ return d->sampleCount;
+}
+
ushort XM::Properties::flags() const
{
return d->flags;
@@ -152,6 +159,11 @@ void XM::Properties::setInstrumentCount(ushort instrumentCount)
d->instrumentCount = instrumentCount;
}
+void XM::Properties::setSampleCount(uint sampleCount)
+{
+ d->sampleCount = sampleCount;
+}
+
void XM::Properties::setFlags(ushort flags)
{
d->flags = flags;