Data:getString

Data:getString Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the full Data as a string. Function Synopsis data = Data:getString( ) Arguments None. Returns string data The raw data. See Also Data

Decoder:getBitDepth

Decoder:getBitDepth Available since LÖVE 0.9.0 It has been renamed from Decoder:getBits. Returns the number of bits per sample. Function Synopsis bitDepth = Decoder:getBitDepth( ) Arguments None. Returns number bitDepth Either 8, or 16. See Also Decoder

Decoder:getBits

Decoder:getBits Removed in LÖVE 0.9.0 It has been renamed to Decoder:getBitDepth. Returns the number of bits per sample. Function Synopsis bitSize = Decoder:getBits( ) Arguments None. Returns number bitSize Either 8, or 16. See Also Decoder

Decoder:getChannels

Decoder:getChannels Returns the number of channels in the stream. Function Synopsis channels = Decoder:getChannels( ) Arguments None. Returns number channels 1 for mono, 2 for stereo. See Also Decoder

Decoder:getDuration

Decoder:getDuration Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the duration of the sound file. It may not always be sample-accurate, and it may return -1 if the duration cannot be determined at all. Function Synopsis duration = Decoder:getDuration( ) Arguments None. Returns number duration The duration of the sound file in seconds, or -1 if it cannot be determined. See Also Decoder Source:getDuration SoundData:getDuration

Decoder:getSampleRate

Decoder:getSampleRate Returns the sample rate of the Decoder. Function Synopsis rate = Decoder:getSampleRate( ) Arguments None. Returns number rate Number of samples per second. See Also Decoder

DistanceJoint:getDamping

DistanceJoint:getDamping Removed in LÖVE 0.8.0 It has been replaced with DistanceJoint:getDampingRatio. Gets the damping ratio. Function Synopsis ratio = DistanceJoint:getDamping( ) Arguments None. Returns number ratio The damping ratio. See Also DistanceJoint

DistanceJoint:getDampingRatio

DistanceJoint:getDampingRatio Available since LÖVE 0.8.0 It has been renamed from DistanceJoint:getDamping. Gets the damping ratio. Function Synopsis ratio = DistanceJoint:getDampingRatio( ) Arguments None. Returns number ratio The damping ratio. See Also DistanceJoint

DistanceJoint:getFrequency

DistanceJoint:getFrequency Gets the response speed. Function Synopsis Hz = DistanceJoint:getFrequency( ) Arguments None. Returns number Hz The response speed. See Also DistanceJoint

DistanceJoint:getLength

DistanceJoint:getLength Gets the equilibrium distance between the two Bodies. Function Synopsis l = DistanceJoint:getLength( ) Arguments None. Returns number l The length between the two Bodies. See Also DistanceJoint