Difference between revisions of "SoundData:getBitDepth"
(Undo revision 12459 by Bangseongbeom (talk)) |
|||
Line 1: | Line 1: | ||
{{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[SoundData:getBits]]}} | {{newin|[[0.9.0]]|090|type=function|text=It has been renamed from [[SoundData:getBits]]}} | ||
− | + | Returns the number of bits per sample. | |
− | == | + | == Function == |
− | === | + | === Synopsis === |
<source lang="lua"> | <source lang="lua"> | ||
bitdepth = SoundData:getBitDepth( ) | bitdepth = SoundData:getBitDepth( ) | ||
</source> | </source> | ||
− | === | + | === Arguments === |
− | + | None. | |
− | === | + | === Returns === |
− | {{param|number | + | {{param|number|bitdepth|Either 8, or 16.}} |
− | == | + | == See Also == |
− | * [[parent::SoundData | + | * [[parent::SoundData]] |
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Returns the number of bits per sample.}} |
− | == | + | == Other Languages == |
{{i18n|SoundData:getBitDepth}} | {{i18n|SoundData:getBitDepth}} |
Latest revision as of 06:03, 3 January 2014
Available since LÖVE 0.9.0 |
It has been renamed from SoundData:getBits. |
Returns the number of bits per sample.
Function
Synopsis
bitdepth = SoundData:getBitDepth( )
Arguments
None.
Returns
number bitdepth
- 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