diff options
author | Mathias Panzenböck <grosser.meister.morti@gmx.net> | 2011-06-24 01:11:10 +0200 |
---|---|---|
committer | Mathias Panzenböck <grosser.meister.morti@gmx.net> | 2011-06-24 01:11:10 +0200 |
commit | 9c27c45eb83453d8529bc139ed70647d6fffa624 (patch) | |
tree | c87864f04a63b495194e55c0a444da6cced536be /taglib/xm/xmproperties.h | |
parent | e71806b6dff3ce8ad6b6e09417793042bd170cab (diff) |
IT: strings require term. NUL. mod files: tableLength -> lengthInPatterns
Also added enums for S3M/IT/XM flags.
Diffstat (limited to 'taglib/xm/xmproperties.h')
-rw-r--r-- | taglib/xm/xmproperties.h | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/taglib/xm/xmproperties.h b/taglib/xm/xmproperties.h index fb8397aa..f1aba404 100644 --- a/taglib/xm/xmproperties.h +++ b/taglib/xm/xmproperties.h @@ -31,6 +31,11 @@ namespace TagLib { class Properties : public AudioProperties { friend class File; public: + /*! Flag bits. */ + enum { + F_AMIGA_FREQ = 1 + }; + Properties(AudioProperties::ReadStyle propertiesStyle); virtual ~Properties(); @@ -39,20 +44,20 @@ namespace TagLib { int sampleRate() const; int channels() const; - ushort tableLength() const; - ushort version() const; - ushort restartPosition() const; - ushort patternCount() const; - ushort instrumentCount() const; - uint sampleCount() const; - ushort flags() const; - ushort tempo() const; - ushort bpmSpeed() const; + ushort lengthInPatterns() const; + ushort version() const; + ushort restartPosition() const; + ushort patternCount() const; + ushort instrumentCount() const; + uint sampleCount() const; + ushort flags() const; + ushort tempo() const; + ushort bpmSpeed() const; protected: void setChannels(int channels); - void setTableLength(ushort tableLength); + void setLengthInPatterns(ushort lengthInPatterns); void setVersion(ushort version); void setRestartPosition(ushort restartPosition); void setPatternCount(ushort patternCount); |