Add SoundData:getDuration, returns the duration in seconds

This commit is contained in:
Bart van Strien
2013-01-29 23:19:26 +01:00
parent 7a16e4cb49
commit 8fba362fc5
4 changed files with 16 additions and 0 deletions
+2
View File
@@ -49,6 +49,8 @@ public:
virtual int getBits() const;
virtual int getSampleRate() const;
virtual int getDuration() const;
void setSample(int i, float sample);
float getSample(int i) const;