Microphone:setOutputFile: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2013.06<br/>
'''Available since:''' Gideros 2013.06<br/>
=== <translate>Description</translate> ===
'''Class:''' [[Microphone]]<br/>
<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">
=== Description ===
Microphone:setOutputFile(fileName)
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>
<syntaxhighlight lang="lua">
=== <translate>Parameters</translate> ===
Microphone:setOutputFile(fileName)
'''fileName''': (string) <translate>The filename. It should be on documents or temporary directory.</translate> <br/>
</syntaxhighlight>
 
=== Parameters ===
'''fileName''': (string) the filename. It should be in documents or temporary directory<br/>
 
{{Microphone}}

Latest revision as of 13:31, 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.

Microphone:setOutputFile(fileName)

Parameters

fileName: (string) the filename. It should be in documents or temporary directory