Renamed Decoder:getBits to Decoder:getBitDepth (see issue #636)

This commit is contained in:
Alex Szpakowski
2013-08-11 04:15:42 -03:00
parent daf50698b8
commit 66a773d2a7
20 changed files with 52 additions and 52 deletions
+3 -3
View File
@@ -37,10 +37,10 @@ int w_Decoder_getChannels(lua_State *L)
return 1;
}
int w_Decoder_getBits(lua_State *L)
int w_Decoder_getBitDepth(lua_State *L)
{
Decoder *t = luax_checkdecoder(L, 1);
lua_pushinteger(L, t->getBits());
lua_pushinteger(L, t->getBitDepth());
return 1;
}
@@ -54,7 +54,7 @@ int w_Decoder_getSampleRate(lua_State *L)
static const luaL_Reg functions[] =
{
{ "getChannels", w_Decoder_getChannels },
{ "getBits", w_Decoder_getBits },
{ "getBitDepth", w_Decoder_getBitDepth },
{ "getSampleRate", w_Decoder_getSampleRate },
{ 0, 0 }
};