Lagging sounds

A project to port LÖVE to Android handhelds
Locked
utunnels
Citizen
Posts: 75
Joined: Fri Jan 06, 2012 5:20 pm

Lagging sounds

Post by utunnels »

Perhaps I should post this in the bug thread. But I'm not sure, maybe it is just a system limit or something.

It happens when there are multiple sound sources playing simultaneously. I've tried to limit the amount of sources but it still happens even if there're only 6 or 7 sources.

Anyone else has this problem? Or am I just using a wrong way to play sounds?


I've attached a test.love.
You can change the number at line 122 in love2ddriver.lua to see if there's any difference.
Attachments
test.love
(200.9 KiB) Downloaded 451 times
utunnels
Citizen
Posts: 75
Joined: Fri Jan 06, 2012 5:20 pm

Re: Lagging sounds

Post by utunnels »

Sorry for double posting.

http://repo.or.cz/w/openal-soft/android.git
I tried the code here and it appears the poblem is fixed (at least far better than before).

If someone wants to try the lib:
Attachments
al-libs.zip
(436.14 KiB) Downloaded 458 times
Moe
Party member
Posts: 115
Joined: Thu Dec 22, 2011 10:20 pm

Re: Lagging sounds

Post by Moe »

I have not yet noticed this bug. But I update OpenAL when we move on to 0.8.0 - I hope this will be our next step.
Locked

Who is online

Users browsing this forum: No registered users and 3 guests