Difference between revisions of "Microphone:setOutputFile"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2013.06<br/> === Description === Sets the output file. If an output file is specified, captured audio is recorded to this file. You ca...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2013.06<br/>
 
'''Available since:''' Gideros 2013.06<br/>
 +
'''Class:''' [[Microphone]]<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.
 
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">
+
<syntaxhighlight lang="lua">
= Microphone:setOutputFile(fileName,)
+
Microphone:setOutputFile(fileName)
</source>
+
</syntaxhighlight>
'''fileName:''' (string) The filename. It should be on documents or temporary directory. ''''''<br/>
+
 
 +
=== Parameters ===
 +
'''fileName''': (string) the filename. It should be in documents or temporary directory<br/>
 +
 
 +
{{Microphone}}

Latest revision as of 15: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