{{newin|[[11.0]]|110|type=function}}
Stops recording audio from this device. Any sound data currently in the device's buffer will be returned.
== Function ==
=== Synopsis ===
<source lang="lua">
data = RecordingDevice:stop( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|SoundData|data (nil)|The sound data currently in the device's buffer, or nil if the device wasn't recording.}}
== See Also ==
* [[parent::RecordingDevice]]
* [[RecordingDevice:start]]
* [[RecordingDevice:getData]]
[[Category:Functions]]
{{#set:Description=Stops recording audio from this device.}}
== Other Languages ==
{{i18n|RecordingDevice:stop}}