W3cubDocs

/LÖVE

SoundData:getSampleRate

Returns the sample rate of the SoundData.

Function

Synopsis

rate = SoundData:getSampleRate( )

Arguments

None.

Returns

number rate
Number of samples per second.

See Also


© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/SoundData:getSampleRate