Add SoundData:getSampleCount() function

Adds SoundData:getSampleCount(), calculates how many samples there are
in this particular SoundData. resolves #578

--HG--
branch : sounddata-samplecount
This commit is contained in:
darthfodder
2013-03-25 22:04:39 -07:00
parent 275a144907
commit 11dc74c7db
4 changed files with 15 additions and 0 deletions
+1
View File
@@ -48,6 +48,7 @@ public:
virtual int getChannels() const;
virtual int getBits() const;
virtual int getSampleRate() const;
virtual int getSampleCount() const;
virtual int getDuration() const;