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
Type
Source
A Source represents audio you can play back. You can do interesting things with Sources, like set the volume, pitch, and its position relative to the listener.
Functions
getPitch( )
Gets the current pitch of the Source.
getVolume( )
Gets the current volume of the Source.
isLooping( )
Returns whether the Source will loop.
isStopped( )
Returns whether the Source is stopped.
setLooping( loop )
Sets whether the Source should loop.
setPitch( pitch )
Sets the pitch of the Source.
setVolume( volume )
Sets the current volume of the Source.
See Also
love.audio.newSource
Copyright © 2006-2010 LÖVE Development Team.
Visit Homepage
–
Ask a Question