RecordingDevice:stop

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