Attempts to find a decoder for the encoded sound data in the specified file.
decoder = love.sound.newDecoder( file, buffer )
File file
number buffer (2048)
Decoder decoder
decoder = love.sound.newDecoder( filename, buffer )
string filename
number buffer (2048)
Decoder decoder
Removed in LÖVE 0.7.1
This variant is not supported in that and later versions.
decoder = love.sound.newDecoder( file, buffer, rate )
File file
number buffer (2048)
number rate (44100)
Decoder decoder
Removed in LÖVE 0.7.1
This variant is not supported in that and later versions.
decoder = love.sound.newDecoder( filename, buffer, rate )
string filename
number buffer (2048)
number rate (44100)
Decoder decoder
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.sound.newDecoder