mirror of
https://github.com/taglib/taglib.git
synced 2026-02-15 12:43:03 -05:00
IT: support channels property
This commit is contained in:
@ -34,9 +34,9 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
int channels;
|
||||
uint instrumentCount;
|
||||
uint tableLength;
|
||||
int channels;
|
||||
uint instrumentCount;
|
||||
uchar tableLength;
|
||||
};
|
||||
|
||||
Mod::Properties::Properties(AudioProperties::ReadStyle propertiesStyle) :
|
||||
@ -75,7 +75,7 @@ uint Mod::Properties::instrumentCount() const
|
||||
return d->instrumentCount;
|
||||
}
|
||||
|
||||
uint Mod::Properties::tableLength() const
|
||||
uchar Mod::Properties::tableLength() const
|
||||
{
|
||||
return d->tableLength;
|
||||
}
|
||||
@ -90,7 +90,7 @@ void Mod::Properties::setInstrumentCount(uint instrumentCount)
|
||||
d->instrumentCount = instrumentCount;
|
||||
}
|
||||
|
||||
void Mod::Properties::setTableLength(uint tableLength)
|
||||
void Mod::Properties::setTableLength(uchar tableLength)
|
||||
{
|
||||
d->tableLength = tableLength;
|
||||
}
|
||||
|
||||
@ -38,14 +38,14 @@ namespace TagLib {
|
||||
int sampleRate() const;
|
||||
int channels() const;
|
||||
|
||||
uint instrumentCount() const;
|
||||
uint tableLength() const;
|
||||
uint instrumentCount() const;
|
||||
uchar tableLength() const;
|
||||
|
||||
protected:
|
||||
void setChannels(int channels);
|
||||
|
||||
void setInstrumentCount(uint sampleCount);
|
||||
void setTableLength(uint tableLength);
|
||||
void setTableLength(uchar tableLength);
|
||||
|
||||
private:
|
||||
Properties(const Properties&);
|
||||
|
||||
Reference in New Issue
Block a user