{{newin|[[11.0]]|110|type=function}}
Gets the number of bits per sample in the data currently being recorded.
== Function ==
=== Synopsis ===
<source lang="lua">
bits = RecordingDevice:getBitDepth( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|bits|The number of bits per sample in the data that's currently being recorded.}}
== See Also ==
* [[parent::RecordingDevice]]
* [[RecordingDevice:start]]
[[Category:Functions]]
{{#set:Description=Gets the number of bits per sample in the data currently being recorded.}}
== Other Languages ==
{{i18n|RecordingDevice:getBitDepth}}