Sound should now work again. Music looping does probably not work, however (at least now with mp3).

This commit is contained in:
rude
2009-10-24 23:48:06 +02:00
parent ff06834934
commit 0d897b0b0f
14 changed files with 551 additions and 564 deletions
+4 -8
View File
@@ -101,29 +101,25 @@ namespace audio
int w_stop(lua_State * L)
{
Source * c = luax_checksource(L, 1);
instance->stop(c);
instance->stop();
return 0;
}
int w_pause(lua_State * L)
{
Source * c = luax_checksource(L, 1);
instance->pause(c);
instance->pause();
return 0;
}
int w_resume(lua_State * L)
{
Source * c = luax_checksource(L, 1);
instance->resume(c);
instance->resume();
return 0;
}
int w_rewind(lua_State * L)
{
Source * c = luax_checksource(L, 1);
instance->rewind(c);
instance->rewind();
return 0;
}