mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user