Difference between revisions of "SoundData:getChannels"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Returns the number of channels in the stream.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::SoundData]]
 
* [[parent::SoundData]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Returns the number of channels in the stream.}}

Revision as of 16:17, 14 February 2010

Returns the number of channels in the stream.

Function

Synopsis

channels = SoundData:getChannels( )

Arguments

None.

Returns

number channels
1 for mono, 2 for stereo.

See Also