love.audio.newSource
Creates a new Source from a filepath, File, Decoder or SoundData.

Sources created from SoundData are always static.
source = love.audio.newSource( filename, type )
filename string The filepath to the audio file.
type SourceType Streaming or static source.
source Source A new Source that can play the specified audio.
source = love.audio.newSource( file, type )
file File A File pointing to an audio file.
type SourceType Streaming or static source.
source Source A new Source that can play the specified audio.
source = love.audio.newSource( decoder, type )
decoder Decoder The Decoder to create a Source from.
type SourceType Streaming or static source.
source Source A new Source that can play the specified audio.
source = love.audio.newSource( data, type )
data FileData The FileData to create a Source from.
type SourceType Streaming or static source.
source Source A new Source that can play the specified audio.
source = love.audio.newSource( data )
data SoundData The SoundData to create a Source from.
source Source A new Source that can play the specified audio. The SourceType of the returned audio is 'static'.