Difference between revisions of "Microphone:setOutputFile"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 5: | Line 5: | ||
=== 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. | Sets the output file. If an output file is specified, captured audio is recorded to this file. You cannot set output file while recording. | ||
− | < | + | <syntaxhighlight lang="lua"> |
Microphone:setOutputFile(fileName) | Microphone:setOutputFile(fileName) | ||
</source> | </source> |
Revision as of 14:28, 13 July 2023
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. <syntaxhighlight lang="lua"> Microphone:setOutputFile(fileName) </source>
Parameters
fileName: (string) the filename. It should be in documents or temporary directory