Love2D crashes when playing audio

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Autophoenix
Prole
Posts: 40
Joined: Thu Mar 06, 2014 4:18 pm
Location: Rio de Janeiro, Brazil

Love2D crashes when playing audio

Post 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).
a² = b² + c²
User avatar
JovialFeline
Prole
Posts: 28
Joined: Wed Jan 08, 2014 2:32 pm

Re: Love2D crashes when playing audio

Post 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?
User avatar
slime
Solid Snayke
Posts: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Love2D crashes when playing audio

Post by slime »

LÖVE 0.9.0 fixed several audio-related bugs, you should probably upgrade.
pielago
Party member
Posts: 142
Joined: Fri Jun 14, 2013 10:41 am

Re: Love2D crashes when playing audio

Post 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.
User avatar
slime
Solid Snayke
Posts: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Love2D crashes when playing audio

Post 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.
pielago
Party member
Posts: 142
Joined: Fri Jun 14, 2013 10:41 am

Re: Love2D crashes when playing audio

Post by pielago »

sweet awesome thank for the info...
User avatar
Autophoenix
Prole
Posts: 40
Joined: Thu Mar 06, 2014 4:18 pm
Location: Rio de Janeiro, Brazil

Re: Love2D crashes when playing audio

Post by Autophoenix »

No error messages, the program just freezes. It's terrible and givin' me headaches. :x
a² = b² + c²
User avatar
SneakySnake
Citizen
Posts: 94
Joined: Fri May 31, 2013 2:01 pm
Contact:

Re: Love2D crashes when playing audio

Post by SneakySnake »

Autophoenix wrote:No error messages, the program just freezes. It's terrible and givin' me headaches. :x
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.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 16 guests