Difference between revisions of "SoundData:getBits"
m |
|||
(7 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{oldin|[[0.9.0]]|090|type=function|text=It has been renamed to [[SoundData:getBitDepth]]}} | |
− | + | Returns the number of bits per sample. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | bits = SoundData:getBits( ) | |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param|number| | + | {{param|number|bits|Either 8, or 16.}} |
== See Also == | == See Also == | ||
* [[parent::SoundData]] | * [[parent::SoundData]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Returns the number of bits per sample.}} |
+ | {{#set:Since=000}} | ||
+ | == Other Languages == | ||
+ | {{i18n|SoundData:getBits}} |
Latest revision as of 04:03, 19 July 2013
Removed in LÖVE 0.9.0 |
It has been renamed to SoundData:getBitDepth. |
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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info