Remove AudioStream:seek;
@@ -25,18 +25,10 @@ int l_lovrAudioStreamGetSampleRate(lua_State* L) {
return 1;
}
-int l_lovrAudioStreamSeek(lua_State* L) {
- AudioStream* stream = luax_checktype(L, 1, AudioStream);
- float seconds = luaL_checknumber(L, 2);
- lovrAudioStreamSeek(stream, (int) (seconds * stream->sampleRate + .5));
- return 0;
-}
-
const luaL_Reg lovrAudioStream[] = {
{ "getBitDepth", l_lovrAudioStreamGetBitDepth },
{ "getChannelCount", l_lovrAudioStreamGetChannelCount },
{ "getDuration", l_lovrAudioStreamGetDuration },
{ "getSampleRate", l_lovrAudioStreamGetSampleRate },
- { "seek", l_lovrAudioStreamSeek },
{ NULL, NULL }
};
