love.audio.newMusic( filepath )
Creates a new Music (stream) from the file pointed to by the specified path.
Synopsis
music = love.audio.newMusic( filepath )
Parameters
filepath |
string |
A filepath pointing to the file to stream from. |
Returns
music |
Music |
A new Music object that streams from the file pointed to by the specified filepath. |