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
@@ -36,6 +36,7 @@ int w_getSize(lua_State *L);
int w_getChannels(lua_State *L);
int w_getBits(lua_State *L);
int w_getSampleRate(lua_State *L);
int w_getSampleCount(lua_State *L);
int w_getDuration(lua_State *L);
int w_setSample(lua_State *L);
int w_getSample(lua_State *L);