Difference between revisions of "RecordingDevice:stop"

(Created page)
 
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}}
 
Stops recording audio from this device. Any sound data currently in the device's buffer will be returned.
 
Stops recording audio from this device. Any sound data currently in the device's buffer will be returned.
 
== 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.

Stops recording audio from this device. Any sound data currently in the device's buffer will be returned.

Function

Synopsis

data = RecordingDevice:stop( )

Arguments

None.

Returns

SoundData data (nil)
The sound data currently in the device's buffer, or nil if the device wasn't recording.

See Also

Other Languages