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

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/RecordingDevice:stop