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 (한국어)|bitdepth|8 혹은 16.}}
+
{{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