Difference between revisions of "Microphone:setOutputFile"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2013.06<br/> | |
− | ''' | + | '''Class:''' [[Microphone]]<br/> |
− | ''' | + | |
− | === | + | === 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. | |
<source lang="lua"> | <source lang="lua"> | ||
− | + | Microphone:setOutputFile(fileName) | |
</source> | </source> | ||
− | === | + | |
− | '''fileName''': (string) | + | === Parameters === |
+ | '''fileName''': (string) the filename. It should be in documents or temporary directory<br/> | ||
{{Microphone}} | {{Microphone}} |
Revision as of 08:02, 24 March 2022
Available since: Gideros 2013.06
Class: Microphone
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 in documents or temporary directory