Function
love.sound.newDecoder( filename, buffer, rate )
Attempts to find a decoder for the encoded sound data in the specified file.
Synopsis
decoder = love.sound.newDecoder( filename, buffer, rate )
Parameters
filename string The filename of the file with encoded sound data.
buffer = 1024 number The size of each decoded chunk, in bytes.
rate = 44100 number Samples per second, or quality of the audio. Use either 44100 (good), 22050 (medium) or 11025 (poor).
Returns
decoder Decoder A new Decoder object.
Copyright © 2006-2010 LÖVE Development Team.