Search found 2 matches

by LordAndrew
Sat Dec 28, 2013 1:58 pm
Forum: Support and Development
Topic: Audio glitchy and memory leak?
Replies: 6
Views: 2375

Re: Audio glitchy and memory leak?

slime wrote:What's the code you're using to test?
It looks like I done goofed. It just hit me why it's happening:

Code: Select all

-- The code I was using.
function love.draw()
  s = love.audio.newSource("test.mp3")
  s:play()
end
Playing a song every tick is probably not a good idea, haha. My bad.
by LordAndrew
Sat Dec 28, 2013 12:15 pm
Forum: Support and Development
Topic: Audio glitchy and memory leak?
Replies: 6
Views: 2375

Audio glitchy and memory leak?

I'm experiencing a weird problem with the audio module of LÖVE. No matter what song I play--regardless of its format--is played in a very glitchy manner (the song stutters and sounds very robotic). LÖVE's memory usage also skyrockets and the program ends up crashing from using up too much memory. I'...