Documentation
Introduction
Getting Started
Game Distribution
Config Files
License
Documentation Guide
Modules
love
love.audio
love.event
love.filesystem
love.graphics
love.image
love.joystick
love.keyboard
love.mouse
love.physics
love.sound
love.timer
Callbacks
love.joystickreleased
love.joystickpressed
love.load
love.update
love.draw
love.keypressed
love.keyreleased
love.mousepressed
love.mousereleased
love.run
Edit
Module
love.sound
This module is responsible for decoding sound files. It can't play the sounds, see
love.audio
for that.
Types
Decoder
An object which can gradually decode a sound file.
SoundData
Contains raw audio samples.
Functions
newDecoder( file, buffer, rate )
Attempts to find a decoder for the encoded sound data in the specified file.
newDecoder( filename, buffer, rate )
Attempts to find a decoder for the encoded sound data in the specified file.
newSoundData( decoder )
Creates new SoundData from a Decoder.
newSoundData( filename )
Creates a new SoundData from a file.
newSoundData( samples, rate, bits, channels )
Creates a new, empty SoundData.
Copyright © 2006-2010 LÖVE Development Team.
Visit Homepage
–
Ask a Question