Search found 82 matches

by parallax7d
Tue Jul 15, 2014 2:40 pm
Forum: Support and Development
Topic: Difference between streaming and static audio?
Replies: 4
Views: 1148

Re: Difference between streaming and static audio?

Thanks bartbes, I'll have to search harder next time! I like how all the docs are on the wiki, makes it very easy to search.

rmcode, that's really good to know, thanks
by parallax7d
Tue Jul 15, 2014 1:09 pm
Forum: Support and Development
Topic: Difference between streaming and static audio?
Replies: 4
Views: 1148

Difference between streaming and static audio?

What is the distinction between streaming and static audio? Are they different channels?

Load background music and play it

Code: Select all

bgm = love.audio.newSource("bgm.ogg", "stream")
love.audio.play(bgm)
Load a sound effect and play it

Code: Select all

sfx = love.audio.newSource("sfx.wav", "static")
love.audio.play(sfx)