Difference between revisions of "Microphone:setOutputFile"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2013.06<br/> === Description === Sets the output file. If an output file is specified, captured audio is recorded to this file. You ca...") |
|||
Line 4: | Line 4: | ||
Sets the output file. If an output file is specified, captured audio is recorded to this file. You cannot set output file while recording. | Sets the output file. If an output file is specified, captured audio is recorded to this file. You cannot set output file while recording. | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Microphone:setOutputFile(fileName) | |
</source> | </source> | ||
− | '''fileName | + | '''fileName''': (string) The filename. It should be on documents or temporary directory. ''''''<br/> |
Revision as of 10:17, 23 August 2018
Available since: Gideros 2013.06
Description
Sets the output file. If an output file is specified, captured audio is recorded to this file. You cannot set output file while recording.
Microphone:setOutputFile(fileName)
'fileName: (string) The filename. It should be on documents or temporary directory. '