Start audio recording.
Note: Starting an audio recording will stop any audio playback. You cannot record and play audio at the same time.
object:startRecording( )
local filePath = system.pathForFile( dataFileName, system.DocumentsDirectory ) r = media.newRecording( filePath) r:startRecording( )
None.
Nothing.
To enable audio recording on Android devices, you must set the permission level in the build.settings file.
1 2 3 4 5 6 7 | settings = { androidPermissions = { "android.permission.RECORD_AUDIO" }, } |
Will recording and playing back at the same time every be supported?
is there a way to save multiple recorded sound in the same app?