Difference between revisions of "RecordingDevice:getSampleRate"

m
m (updated version from 0.11.0 to 11.0)
 
Line 1: Line 1:
{{newin|[[0.11.0]]|110|type=function}}
+
{{newin|[[11.0]]|110|type=function}}
 
Gets the number of samples per second currently being recorded.
 
Gets the number of samples per second currently being recorded.
 
== Function ==
 
== Function ==

Latest revision as of 12:37, 2 April 2018

Available since LÖVE 11.0
This function is not supported in earlier versions.

Gets the number of samples per second currently being recorded.

Function

Synopsis

rate = RecordingDevice:getSampleRate( )

Arguments

None.

Returns

number rate
The number of samples being recorded per second (sample rate).

See Also

Other Languages