Microphone:setOutputFile

From GiderosMobile
Revision as of 14:28, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

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