Difference between revisions of "SoundData:getBits"

Line 3: Line 3:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
bitSize = SoundData:getBits( )
+
bits = SoundData:getBits( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|number|bitSize|Either 8, or 16.}}
+
{{param|number|bits|Either 8, or 16.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::SoundData]]
 
* [[parent::SoundData]]

Revision as of 11:14, 28 November 2012

Returns the number of bits per sample.

Function

Synopsis

bits = SoundData:getBits( )

Arguments

None.

Returns

number bits
Either 8, or 16.

See Also


Other Languages