类型 函数 对象 录制 库 media.* 返回值 无 修订版 2024.3703 版本 关键字 stopRecording 另请参见 对象:startRecording() media.playSound()
停止录制音频。
object:stopRecording()
local filePath = system.pathForFile( "newRecording.aif", system.DocumentsDirectory ) local r = media.newRecording( filePath ) r:startRecording() -- Sometime later r:stopRecording()