RecordingDevice:getSampleRate

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