Difference between revisions of "Microphone:setOutputFile"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2013.06<br/> | '''Available since:''' Gideros 2013.06<br/> | ||
=== Description === | === 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. | + | <translate>Sets the output file. If an output file is specified, captured audio is recorded to this file. You cannot set output file while recording.</translate> |
<source lang="lua"> | <source lang="lua"> | ||
Microphone:setOutputFile(fileName) | Microphone:setOutputFile(fileName) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''fileName''': (string) The filename. It should be on documents or temporary directory. <br/> | + | '''fileName''': (string) <translate>The filename. It should be on documents or temporary directory.</translate> <br/> |
Revision as of 13:32, 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)
Parameters
fileName: (string) The filename. It should be on documents or temporary directory.