Difference between revisions of "RecordingDevice:getSampleRate"

(Created page)
 
m
Line 1: Line 1:
 
{{newin|[[0.11.0]]|110|type=function}}
 
{{newin|[[0.11.0]]|110|type=function}}
Gets the number of samples currently being recorded per second.
+
Gets the number of samples per second currently being recorded.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 14:
 
* [[RecordingDevice:start]]
 
* [[RecordingDevice:start]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the number of samples currently being recorded per second.}}
+
{{#set:Description=Gets the number of samples per second currently being recorded.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|RecordingDevice:getSampleRate}}
 
{{i18n|RecordingDevice:getSampleRate}}

Revision as of 05:59, 18 March 2018

Available since LÖVE 0.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