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
+9 -2
View File
@@ -197,7 +197,12 @@ function love.run()
-- Process events.
for e,a,b,c in love.event.poll() do
if e == "q" then return end
if e == "q" then
if love.audio then
love.audio.stop()
end
return
end
love.handlers[e](a,b,c)
end
@@ -671,7 +676,9 @@ function love.errhand(msg)
while true do
e, a, b, c = love.event.wait()
if e == "q" then return end
if e == "q" then
return
end
if e == "kp" and a == "escape" then
return
end