Page 1 of 1
Love2D crashes when playing audio
Posted: Tue Mar 25, 2014 11:05 pm
by Autophoenix
It crashes at about 20 seconds after I play the audio. Idk why this happens. Do you know what it can be?
(I use Windows 7, Love 0.8.0).
Re: Love2D crashes when playing audio
Posted: Wed Mar 26, 2014 12:02 am
by JovialFeline
Need more info. Did it give you any error messages? Can you post the exact code you're using to create and play a source? What's the audio format?
Re: Love2D crashes when playing audio
Posted: Wed Mar 26, 2014 12:29 am
by slime
LÖVE 0.9.0 fixed several audio-related bugs, you should probably upgrade.
Re: Love2D crashes when playing audio
Posted: Wed Mar 26, 2014 1:50 am
by pielago
can we use wav now?? or still oggs and mp3s????
LÖVE 0.9.0 fixed several audio-related bugs, you should probably upgrade.
Re: Love2D crashes when playing audio
Posted: Wed Mar 26, 2014 2:01 am
by slime
Yeah, WAVE files should be safe to use now - they no longer have ~2 seconds of silence added to them when played back.
Re: Love2D crashes when playing audio
Posted: Wed Mar 26, 2014 2:41 pm
by pielago
sweet awesome thank for the info...
Re: Love2D crashes when playing audio
Posted: Thu Mar 27, 2014 10:49 pm
by Autophoenix
No error messages, the program just freezes. It's terrible and givin' me headaches.
Re: Love2D crashes when playing audio
Posted: Thu Mar 27, 2014 10:57 pm
by SneakySnake
Autophoenix wrote:No error messages, the program just freezes. It's terrible and givin' me headaches.
That is a known issue that was fixed in LÖVE 0.9.
The fix won't be backported into 0.8. Use 0.9.