W3cubDocs

/LÖVE

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


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