Difference between revisions of "RecordingDevice:getSampleRate"

(Created page)
 
m (updated version from 0.11.0 to 11.0)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{newin|[[0.11.0]]|110|type=function}}
+
{{newin|[[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}}

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